executing script in fork

Discussion in 'Python' started by cerr, Sep 8, 2010.

  1. cerr

    cerr Guest

    Hi There,

    I want to trigger another script and having it running forked to my
    mother process.
    I googled around and came up with following:

    commandlist=['./GPSsim.pl',proto,'files/gps.txt']
    subprocess.Popen(commandlist)
    print "GPS simulator started"

    This however doesn't seem disconnect stdout but it still throws me
    back to the shell.
    How can I launch it with disconnected stdout and still continue
    running further code in my mother script?

    Thanks,
    Ron
     
    cerr, Sep 8, 2010
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Cédric Rossé
    Replies:
    1
    Views:
    533
    Cédric Rossé
    Nov 9, 2004
  2. sarmin kho
    Replies:
    1
    Views:
    378
    Cameron Laird
    Jun 4, 2004
  3. Replies:
    3
    Views:
    1,061
    James Stroud
    Dec 13, 2005
  4. Eric Snow

    os.fork and pty.fork

    Eric Snow, Jan 8, 2009, in forum: Python
    Replies:
    0
    Views:
    574
    Eric Snow
    Jan 8, 2009
  5. Replies:
    3
    Views:
    191
    Josef Moellers
    Nov 1, 2007
Loading...

Share This Page