If by "running it by shell cmd" you mean the python script, then read manuals for python's subprocess module on how to show default windows for Windows apps.
if you mean showing the terminal window at the top of other apps, I should say that I don't mind if it runs in the background as long as it works fine.
I am invoking the python script via PHP with admin privilege and when I check task-manager I can see that the terminal is running by Administrator, but I am facing this strange issue where sometimes everything works fine as expected (terminal will open on background and perform the backtest then will save the report) and sometimes it won't save the report. However I can see on the task-manager that the terminal uses the resource.
Can you please help me to address the problem causing this?
**Note:
I am using the same EA, same backtesting settings/inputs, same symbol, same terminal
If by "running it by shell cmd" you mean the python script, then read manuals for python's subprocess module on how to show default windows for Windows apps.
I'm stuck with this problem for more than a week now! Can you please help me to find a workaround
I am invoking the python script via PHP with admin privilege and when I check task-manager I can see that the terminal is running by Administrator, but I am facing this strange issue where sometimes everything works fine as expected (terminal will open on background and perform the backtest then will save the report) and sometimes it won't save the report. However I can see on the task-manager that the terminal uses the resource.
This sounds a bit overcomplicated for Windows. I'd suggest to create a test case with windows shell and see if it works consistently. Then the problem is in your "shells" - python+PHP.
I am trying to launch metatrader 5 using a batch file and then loading a custom ini file that i have created using the information on the page. I seem to have narrowed down the problem to the fact that metatrader 5 is clearly seeing the ini file in the fact that it is populating the settings tab as per my above screenshot but it doesn t seem to be loading in the custom
If by "running it by shell cmd" you mean the python script, then read manuals for python's subprocess module on how to show default windows for Windows apps.
Hello Stanislav, thanks for replying.
if you mean showing the terminal window at the top of other apps, I should say that I don't mind if it runs in the background as long as it works fine.
I am invoking the python script via PHP with admin privilege and when I check task-manager I can see that the terminal is running by Administrator, but I am facing this strange issue where sometimes everything works fine as expected (terminal will open on background and perform the backtest then will save the report) and sometimes it won't save the report. However I can see on the task-manager that the terminal uses the resource.
Can you please help me to address the problem causing this?
**Note:
I am using the same EA, same backtesting settings/inputs, same symbol, same terminal
If by "running it by shell cmd" you mean the python script, then read manuals for python's subprocess module on how to show default windows for Windows apps.
Can you please help me to find a workaround
I am invoking the python script via PHP with admin privilege and when I check task-manager I can see that the terminal is running by Administrator, but I am facing this strange issue where sometimes everything works fine as expected (terminal will open on background and perform the backtest then will save the report) and sometimes it won't save the report. However I can see on the task-manager that the terminal uses the resource.
This sounds a bit overcomplicated for Windows. I'd suggest to create a test case with windows shell and see if it works consistently. Then the problem is in your "shells" - python+PHP.
Actually, there is a time-tested solution for tester automation from fxsaber. It's better to switch to it.
Best regards