PATCH: cygutils/cygstart - wait till task terminates (i.e. run in foreground)

Barry Kelly bkelly.ie@gmail.com
Mon Aug 11 21:31:00 GMT 2008


I find cygstart useful generally, but ShellExecute/Ex has more options
than cygstart exposes.

In particular, I'd like to be able to write a script that starts an
action and waits for it to complete, and then perform another action.
This means that I don't want cygstart to return until the process it has
started exits (modulo MDI etc).

ShellExecuteEx can return the process handle, which can then be waited
on.

I've written a patch against cygutils-1.3.2-1 that implements this
functionality via a new "-w | --wait" argument.

I've attached the patch for review. Is there any other place I should be
posting to submit this patch?

-- Barry

-- 
http://barrkel.blogspot.com/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cygstart-1.3.2-1.bjk-wait.patch
Type: application/octet-stream
Size: 6838 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20080811/4c4cf2bb/attachment.obj>
-------------- next part --------------
--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


More information about the Cygwin mailing list