From: Lara M. <de...@la...> - 2016-03-24 02:14:34
|
I have a python with the following shebang: #!/bin/console.exe /usr/bin/python I need to call the command "python" through this executable (console.exe). Is there any way to do that? For clarify: - The console.exe is from winpty project (https://github.com/rprichard/winpty) and I need it for my program works. - When the user runs compiledPythonScript.exe, It must execute the console.exe with the path of python interpreter and path of python script as a parameter: (E.g: $ /bin/console.exe /path/to/python /path/to/compiledPythonScript.exe) - The console.exe will execute the python and the script. I've searched a lot and found no solution to this problem, but I don't want to execute the console.exe manually every time. I accept any solution. Thanks |