Need Help with TCL exec 
Author Message
 Need Help with TCL exec

I am trying to run an rsh command from a tcl button.  The following
code returns a ksh error on export DISPLAY=windhorse:0.  How does
one do this with TCL?

------------------------------------------------------------
set id 0

.. stuff deleted...

button .b$id -text Netscape -command "exec rsh whatever 'DISPLAY=windhorse:0; export DISPLAY; /usr/sww/bin/netscape'"
pack .b$id -fill x
incr id
------------------------------------------------------------

Mark



Mon, 10 Nov 1997 03:00:00 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. using exec in windows nt exec on tcl scripts

2. Exec not exec-ing sh scripts in tcl 7.5b1

3. help needed passing params from a C program to a REXX EXEC

4. help needed passing params from a C program to a REXX EXEC

5. Help needed: Use the EXEC function in assembly language

6. help needed passing params from a C program to a REXX EXEC

7. Need help with EXEC

8. Help needed! ASM exec()

9. eval/exec help needed

10. almost have starkit working but still need little help with exec

11. Need help with exec

12. need help with exec command

 

 
Powered by phpBB® Forum Software