Check out the Win32::Process module. It should be able to do what you want.
-----Original Message----- From: Rob Dixon [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 28, 2003 9:18 AM To: [EMAIL PROTECTED] Subject: Re: Opening a new shell Anthony J Segelhorst wrote: > > Basically I am writing the script to monitor services on Windows > Servers using net start and it reads in a config file, that the end > user builds. I want to attempt tp restart the service using a net > start "Service Name", but the monitoring product I am importing the > script into, only allows me to have a window of 60 seconds to run a > script. This is the reason I am wanting to call an external script > and the original script does not wait on the service to restart. So it's purely a per-process accounting limit? My first thought is to harrass your system manager, but I'll keep thinking! You certainly shouldn't have to write code to disguise a legitimate use of the system. Rob -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]