Hello all. I am trying to run an exe file with TProcess(for example running a python script like 'python.exe input.py'. When runs it creates output.txt).
When TProcess executes, output.txt is created not in same folder with input.py's folder. It is saved to the our lazarus/fpc application's folder. This is not related with python. I tried with different exe's.
Is it possible to do all execution in a single folder? Input files and output files in the same folder.
Or is it possible to call an exe file with TProcess in a specified folder?