Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #26345

Re: Pass data to a subprocess

Date 2012-08-01 12:40 +0200
From Laszlo Nagy <gandalf@shopzeus.com>
Subject Re: Pass data to a subprocess
References (3 earlier) <CAF_E5JaEHxsjKoHRhZLzh+YdPU8UqKHae9efCsP7zEvm_37+2w@mail.gmail.com> <5018E687.9000105@shopzeus.com> <CAF_E5Jb83D6Uk-HG0sq5urTfxh6z9_fw+RR2ZEmesWTjEFR4-A@mail.gmail.com> <50190215.7080608@shopzeus.com> <CAF_E5JZSp1pADuwbXKtarQ1O5K+U4d1RA6GLMuAakg8bjj=5uQ@mail.gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.2816.1343817623.4697.python-list@python.org> (permalink)

Show all headers | View raw



> Yes I know we don't care about Windows for this particular project..
> I think mixing multiprocessing and fork should not harm, but probably
> is unnecessary since I'm already in another process after the fork so
> I can just make it run what I want.
>
> Otherwise is there a way to do same thing only using multiprocessing?
> (running a process that is detachable from the process that created it)
>
I'm afraid there is no way to do that. I'm not even sure if 
multiprocessing.Queue will work if you detach a forked process.

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: Pass data to a subprocess Laszlo Nagy <gandalf@shopzeus.com> - 2012-08-01 12:40 +0200

csiph-web