Results 1 to 1 of 1
hello
i am writing a script using tcl.....i write it on linux and now running on window also...i am getting some error like with "catch".....plz tell me is there any ...
- 02-25-2009 #1Just Joined!
- Join Date
- Feb 2008
- Posts
- 29
tcl on linux or window
hello
i am writing a script using tcl.....i write it on linux and now running on window also...i am getting some error like with "catch".....plz tell me is there any way from which i can identify whether i am running script on window or linux ?........plz also tell how can i use catch in window...i am using following code to run any valid cmd used on window command prompt.....this is working on linux for linux shell command
here command variable has any valid command....plz helpCode:if [catch {open "|$command"} input]


Reply With Quote