help with external call

In linux if the shell dies it dies also.

OK, it may not be a Python issue. Can you start a Citrix
session on Linux from the command line shell? If so, how
do you make that session continue after you exit the shell?

/Jean Brouwers
ProphICy Semiconductor, Inc.

In linux I'm trying to start a Citrix session. When I close the parent
program all the ICA sessions that I've started die with the parent

program.

In windows I've got a VBscript that I can start all the ICA session I

want

···

Randy.W.Lusk@lesschwab.com wrote:
and close the parent program and all ICA's remain active.

What are you trying to run with os.spawn?
On which platform do you use that? Just
a little bit more detail ... please.

/Jean Brouwers

Randy.W.Lusk@lesschwab.com wrote:

Any more ideals. The os.spawn... and StartExternalProgram example acted
as if something was going to happen but the external program wouldn't
start. If it did start it close real fast.

That's what I was afraid of :wink: and it means that this is
not a Python or wxPython issue, but plain Linux/Unix.

You will need to make special arrangements if a spawned
process (child) must continue after the spawning (parent)
process terminates. Specifically, the child process must
be detached from its parent and become a so called daemon
process. To do that requires a 'double fork' and a few
other things.

Here are two examples in Python

<http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/66012&gt;

<IT Management Recent News | ITPro Today;

Search for 'daemon process Python' or 'double fork Python'
to see other ones.

/Jean Brouwers
  ProphICy Semiconductor, Inc.

···

Randy.W.Lusk@lesschwab.com wrote:

In linux if the shell dies it dies also.

OK, it may not be a Python issue. Can you start a Citrix
session on Linux from the command line shell? If so, how
do you make that session continue after you exit the shell?

/Jean Brouwers
ProphICy Semiconductor, Inc.

Randy.W.Lusk@lesschwab.com wrote:

In linux I'm trying to start a Citrix session. When I close the parent
program all the ICA sessions that I've started die with the parent

program.

In windows I've got a VBscript that I can start all the ICA session I

want

and close the parent program and all ICA's remain active.

What are you trying to run with os.spawn?
On which platform do you use that? Just
a little bit more detail ... please.

/Jean Brouwers

Randy.W.Lusk@lesschwab.com wrote:

Any more ideals. The os.spawn... and StartExternalProgram example acted
as if something was going to happen but the external program wouldn't
start. If it did start it close real fast.

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwindows.org
For additional commands, e-mail: wxPython-users-help@lists.wxwindows.org