From: Massa, H. A. <ch...@gh...> - 2016-03-24 09:09:42
|
Hello Lara Maia, > #!/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. > > as py2exe brings his own startup-stub, integrating another startup-stub will be near impossible. As much as I understand, console.exe does the following: - start an unix-console-agent - reroute the python stdout / stdin / stderr to that console agent. So, if you want to use that, you have to find ways to do that in your Python-program on your own, before you start using console input / output. best wishes, Harald -- GHUM GmbH Harald Armin Massa Spielberger Straße 49 70435 Stuttgart 0173/9409607 Amtsgericht Stuttgart, HRB 734971 |