By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,767 Members | 1,357 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,767 IT Pros & Developers. It's quick & easy.

Fork() and exec() dont work

P: n/a
i m using Windows XP, and by tomorrow i will have have fedora core
installed too. the problem is, when i use these "fork() and exec()" my
windows doesnt do anything, python gives an error about the module,
the kind of error when u know u r wrong.

is it because these commands work on linux?

if so, is it better for me to stick with fedora for my python programs
or use windows?
--
* Posted with NewsLeecher v3.0 Beta 7
* http://www.newsleecher.com/?usenet
Nov 4 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
"""
fork( )

Fork a child process. Return 0 in the child, the child's process id in
the parent. Availability: (!!!) Unix (!!!).
"""

Nov 4 '05 #2

P: n/a
blahman (bl**@blah.blah) wrote:
i m using Windows XP, and by tomorrow i will have have fedora core
installed too. the problem is, when i use these "fork() and exec()" my
windows doesnt do anything, python gives an error about the module,
the kind of error when u know u r wrong.

is it because these commands work on linux?
as documentation says:

fork( )
Fork a child process. Return 0 in the child, the child's process id in the
parent. Availability: Macintosh, Unix.

if so, is it better for me to stick with fedora for my python programs
or use windows?


You can achive the same thing in windows by taking different approach,
but i would say that Linux is way more programmer-friendly (especially
Debian ;-)

--
Maciej "Fiedzia" Dziardziel (fiedzia (at) fiedzia (dot) prv (dot) pl)
www.fiedzia.prv.pl

When tempted to fight fire with fire, remember that the Fire Department
usually uses water.
Nov 4 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.