Friday 15 February 2013

windows - How to start a process with batch, but wait for it at some later point? -



windows - How to start a process with batch, but wait for it at some later point? -

i need run process windows batch file. process has gui needs user interaction. batch script should wait specific status (ping respond precise, because gui tool sets network connection) triggered after user interacted gui process - gui process still (and needs to) run after user interaction! batch script should in meantime go on run aditional commands , wait gui process finish , when gui process finished other tasks.

so basically:

start gui process while ping not repsonding seek ping (-> wait user interaction gui) as ping responds go on batch, not end, but: let batch script wait gui process terminated user continue rest of batch file

i know how wait processes (start /wait), not need wait termination have batch script running (but not commands) while waiting process running.

how this?

launch gui process (not waiting for) wait ping response, cf. pause batch file until host reachable (using ping) analogously wait gui process terminates using tasklist

windows batch-file user-interface process wait

No comments:

Post a Comment