http://qs1969.pair.com?node_id=366372


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.