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


Groups > comp.lang.python > #26343 > unrolled thread

Re: Pass data to a subprocess

Started byandrea crotti <andrea.crotti.0@gmail.com>
First post2012-08-01 11:32 +0100
Last post2012-08-01 11:32 +0100
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Pass data to a subprocess andrea crotti <andrea.crotti.0@gmail.com> - 2012-08-01 11:32 +0100

#26343 — Re: Pass data to a subprocess

Fromandrea crotti <andrea.crotti.0@gmail.com>
Date2012-08-01 11:32 +0100
SubjectRe: Pass data to a subprocess
Message-ID<mailman.2814.1343817179.4697.python-list@python.org>
2012/8/1 Laszlo Nagy <gandalf@shopzeus.com>:
> On thing is sure: os.fork() doesn't work under Microsoft Windows. Under
> Unix, I'm not sure if os.fork() can be mixed with
> multiprocessing.Process.start(). I could not find official documentation on
> that.  This must be tested on your actual platform. And don't forget to use
> Queue.get() in your test. :-)
>

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)

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web