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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to kill a window Dos with tcl/tk when the program crash?

Status
Not open for further replies.

Boudjema

Programmer
Mar 7, 2002
4
CH
I explain you more!!
I run a program Dos with one button Tcl/Tk , a window Dos is opened. I don't manage to kill the window Dos when the program crash
I use : exec cmd.exe < prog.bat &
In the prog.bat , there are two lignes :
prog.exe
pause
 
For windows NT & co use:
exec cmd.exe /C prog.bat &

ulis
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top