Re: finding process and waiting for it to end
- From: Serge Baltic <nsr@xxxxxxxxxxx>
- Date: Thu, 08 Sep 2005 09:10:53 -0700
Hello,
s> I am working on a jscript that launches a process (proc1). s> Proc1 launches a secondary process (proc2) and then exits. s> I want my script to launch proc1 and then find the process associated s> with proc2. So far I am doing this.
Is the secondary process a script also?
I would suggest using the JScript.NET version, if possible — there are special built-in objects for launching external processes and waiting for their termination. Nowdays it's more useful for system utilities than JS.
Why, there are the same objects in the pre-NET version of JS, something like Scripting.Shell (WScript.Shell) or Wscript object … but it's far less convenient.
(H) Serge
.
- Follow-Ups:
- Re: finding process and waiting for it to end
- From: stgagnon
- Re: finding process and waiting for it to end
- References:
- finding process and waiting for it to end
- From: stgagnon
- finding process and waiting for it to end
- Prev by Date: Re: Iexplore process memory grows using divs
- Next by Date: Re: DOM Problems
- Previous by thread: finding process and waiting for it to end
- Next by thread: Re: finding process and waiting for it to end
- Index(es):
Relevant Pages
|