Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Check if a process is running on Windows

by BrowserUk (Patriarch)
on Jun 13, 2004 at 22:59 UTC ( #366372=note: print w/replies, xml ) Need Help??


in reply to Check if a process is running on Windows

I would have thought that it would be much simpler to create a simple .bat/.cmd file

:redo @notepad & goto redo

Just substitute your program path/name for notepad.


Examine what is said, not who speaks.
"Efficiency is intelligent laziness." -David Dunham
"Think for yourself!" - Abigail

Replies are listed 'Best First'.
Re^2: Check if a process is running on Windows
by aquarium (Curate) on Jun 14, 2004 at 00:33 UTC
    i would have thought that it would be worthwhile to investigate why the tail script dies. had a situation at work recently where my scripts only processed half the file and we didn't notice until later. it took a bit of head scratching to find that the file being processed had an eof character in it. this may not be the answer but, tail will exit if it sees eof in input stream.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://366372]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (2)
As of 2022-08-10 01:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?