Fork() and exec() dont work

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • blah@blah.blah

    #1

    Fork() and exec() dont work

    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
  • dberlin@gmail.com

    #2
    Re: Fork() and exec() dont work

    """
    fork( )

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

    Comment

    • Maciej Dziardziel

      #3
      Re: Fork() and exec() dont work

      blahman (blah@blah.blah ) wrote:
      [color=blue]
      > 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?[/color]

      as documentation says:

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

      [color=blue]
      > if so, is it better for me to stick with fedora for my python programs
      > or use windows?[/color]

      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)


      When tempted to fight fire with fire, remember that the Fire Department
      usually uses water.

      Comment

      Working...