fork problem
Michael Hudson
mwh at python.net
Fri Feb 22 05:59:57 EST 2002
"DelPiccolo Ivano" <ivano.delpiccolo at degroof.be> writes:
> I have the following error when i try to fork :
>
> Traceback (most recent call last):
> File "explorer_proxy.py", line 33, in ?
> child = os.fork()
> AttributeError: 'module' object has no attribute 'fork'
>
> Here is my code :
> child = os.fork()
> if child == 0 :
> print "\nEntering in child process"
>
> Where is my error ?????
Trying to use on Windows a function that doesn't exist on Windows?
You can use cygwin if you're desperate, but I beleive fork() has some
issues there.
Cheers,
M.
--
... so the notion that it is meaningful to pass pointers to memory
objects into which any random function may write random values
without having a clue where they point, has _not_ been debunked as
the sheer idiocy it really is. -- Erik Naggum, comp.lang.lisp
More information about the Python-list
mailing list