send command to parent shell

Martin Landa landa.martin at gmail.com
Wed Oct 13 09:30:15 EDT 2010


Hi,

is there a way how to send command from python script to the shell
(known id) from which the python script has been called? More
precisely, the goal is to exit running bash (on Linux) or cmd (on
Windows) directly from wxPython application, currently user needs to
quit wxPython application and then underlaying command prompt by
'exit' command.

Thanks in advance, Martin



More information about the Python-list mailing list