User Profile

Collapse

Profile Sidebar

Collapse
ldb88
ldb88
Last Activity: Apr 11 '08, 12:28 PM
Joined: Feb 13 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • ldb88
    replied to Child Processes of Child Processes
    I'm been running this from Cygwin, but giving it the Windows pid. Is there a way to specify that I want to wait for a Windows pid without having to exit Cygwin, reopen, and then continuing?

    EDIT: Actually, that won't work either. I can't wait for a pid whether I go through cygwin or cmd.exe.
    See more | Go to post

    Leave a comment:


  • ldb88
    replied to Child Processes of Child Processes
    Thanks for replying.

    I'm not sure how program A launches program B, but I managed to find a way to get the pid of process B.

    The only problem is that os.waitpid(pid, 0) doesn't work. It says no child process, but in the documentation I see that any pid should work, whether it is a child or not.

    Is there something special I have to do with the pid for it to work? The pid I am using is the one that the...
    See more | Go to post

    Leave a comment:


  • ldb88
    started a topic Child Processes of Child Processes

    Child Processes of Child Processes

    My python script launches program A. Program A launches program B. Program A closes without waiting for program B to complete. How can I know when program B completes?

    This is on a Windows XP machine. Thanks!
    See more | Go to post

  • ldb88
    started a topic Odd IndexError

    Odd IndexError

    Nevermind. How do I delete a post?
    See more | Go to post
    Last edited by ldb88; Feb 13 '08, 07:23 PM. Reason: Clarification

  • ldb88
    replied to What is your OS and Python Version
    I'm using Python 2.4.3 on CentOS 5. I use vim.
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...