Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search for a running application

Status
Not open for further replies.

fhutt

Programmer
Jul 7, 2006
79
AU
Hello,
I know there is a [dde services TclEval {}] function to find running TCL applications but, is there a way to find a non-TCL running application?
Thanks
 
I have actually managed to find a way to search for all currently running application using a batch file and calling the batch file with:

set flag [exec test.bat app.exe]

The batch file searches for a running application called app.exe. If found the batch file executes an echo 0 and a 1 otherwise. This appears to work but it is clumsy.
Is there a better way to do this in TCL?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top