-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
The current implementation has a problem when launching the script natively with python.
The scheduler exec path is incorrectly set to the python exe without effectively launching the module "outfit.py."
When launching with python it must be added after exe_filepath the current module path like
os.path.abspath(__file__)
Lines 346 to 358 in 53f0dee
| exe_filepath = sys.executable | |
| if not os.path.isfile(exe_filepath): | |
| logging.error("Python executable not found.") | |
| wx.MessageBox("Internal error!", "Error", wx.ICON_ERROR) | |
| return | |
| schedule_script( | |
| exe_filepath, | |
| ['--env', env_abs_filepath], | |
| start_dt, | |
| end_dt, | |
| interval | |
| ) |
Metadata
Metadata
Assignees
Labels
No labels