Overview
Features
Download
Documentation
Community
Add-Ons & Services

Process: wait on existing pid?

Please post support and help requests here.

Process: wait on existing pid?

Postby liamstask » 26 Jun 2013, 01:56

Hello,

I'm looking for the best way to wait on a PID that was not launched by my command line app. As far as I can tell, Process and ProcessHandle only offer the ability to wait on a PID that has been created by Process::launch().

Process::kill() and Process:: requestTermination() do offer static routines that operate on an existing PID. Would it be acceptable to add a variant of wait() that operates in this way? Perhaps something like
Code: Select all
static void wait(PID pid);


I'm happy to provide a patch if this approach sounds reasonable. Thanks.
liamstask
 
Posts: 3
Joined: 13 Feb 2011, 22:29

Re: Process: wait on existing pid?

Postby liamstask » 26 Jun 2013, 02:29

Hm, nevermind - I had not realized that this functionality is non-standard. I'll continue investigating a solution, but it sounds like it would not be a likely candidate for inclusion at this point.
liamstask
 
Posts: 3
Joined: 13 Feb 2011, 22:29


Return to Support

Who is online

Users browsing this forum: No registered users and 3 guests