allow other plugins to open files

This commit is contained in:
2021-12-10 15:51:32 +01:00
parent a7bff8b089
commit 6e6029f6a2
2 changed files with 6 additions and 4 deletions

View File

@@ -61,7 +61,9 @@ if __name__ == "__main__":
# window.open_file("/home/andi/ws/performanceDb/data/production/logs_2018-09-06_2018-09-06.csv")
# window.open_file("/home/andi/ws/performanceDb/data/production/vapbdcom.csv")
# window.open_file("/var/log/syslog")
# window.open_file("/home/andi/ws/ravenlog/example.log")
# PluginRegistry.execute("open_file", "/home/andi/ws/ravenlog/example.log")
PluginRegistry.execute("open_file",
"/home/andi/ws/performanceDb/data/production/lt_axc_21.4_133.02_maxInstance/lt_axc_21.4_133.02_maxInstance/app/axcng-service_i-0a69bd43d3624a5bc_172_28_60_222_VADPERFO01AA001_2021-09-21_091717/service/service.log");
# window.open_file("C:\\Users\\andi\\ws\\some.log")
signal.signal(signal.SIGINT, stop_signal)