From: Viraj Purang <[EMAIL PROTECTED]> > Is there a PERL API > using which I can create wrapper windows services around > batch files.
Beg your pardon? What the heck is "wrapper windows service". If you want to create a windows service you need to use Win32::Daemon (plus optionaly Win32::Daemon::Simple). But I have no idea what do you mean by "wrapper" and what the heck do you plan to do with those batch files. > I need to be able to stop and start a set of Java commands. OK. So you want to be able to start a bunch of processes and then stop them later, right? You may want to have a look at the Win32::Process module. The problem is that een though Win32::Process allows you to stop a process, it's not nice to these processes. It kills them, not telling them politely to stop. But without knowing more about them noone can tell whether there is a nicer way to stop them. > People in my company have already made start scripts for these Java > commands. Actually what the heck do you mean by "Java commands"??? And why do you talk about windows services? Do you need something that would run all the time and start&stop&monitor some other processes or what??? Jenda ===== [EMAIL PROTECTED] === http://Jenda.Krynicky.cz ===== When it comes to wine, women and song, wizards are allowed to get drunk and croon as much as they like. -- Terry Pratchett in Sourcery -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>