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!

xmessage and tcl

Status
Not open for further replies.

llee2015

Technical User
Sep 10, 2015
1
US
Hi,

I need to do this in tcl ... In my program, I would like to have an xmessage pop up for user to select one of the buttons. And then based on the selection, I will perform different things:-

set msg1 "xmessage -center -print \" Testcase packaging for \" -buttons proceed,cancel"
if { [catch { eval exec $msg2 } results]} {
return $results
}

When I run it in tclsh, I can see the xmessage, and if I select the button "proceed", I got the following in my tclsh. How can I get rid of the "child process"?

% proceed
child process exited abnormally
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top