As part of my C code I run python script,(one of the .dll files runs the script)
getcwd(directory);
ret_value = ShellExecute(NULL,NULL,"myScript.py",NULL,directory,0);
This is the folder of the program after build.
If I run the .exe from the folder every thing works.
The bug: If I search program .exe outside the folder and run it the script doesn't run.

