Exec under W2K (DOS)
From: Afri (amnon.friling_at_citicorp.com)
Date: 05/26/04
- Next message: Gerald W. Lester: "Re: set command error."
- Previous message: Bruce Hartweg: "Re: HELP - smtp is pissing me off"
- Next in thread: Gerald W. Lester: "Re: Exec under W2K (DOS)"
- Reply: Gerald W. Lester: "Re: Exec under W2K (DOS)"
- Reply: Andreas Otto: "Re: Exec under W2K (DOS)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 26 May 2004 07:07:29 -0700
Hi
I need to call another Tcl program with arguments. Whether I use
‘exec' or ‘open', I need to call tclsh first. The line I am using in
prog1.tcl looks like this:
set x [ exec tclsh prog2.tcl arg1 arg2 ]
The problem is that I do not get the return (exit) value from prog2
and anything else that it puts to stdout.
Any ideas?
Thanks
Afri
- Next message: Gerald W. Lester: "Re: set command error."
- Previous message: Bruce Hartweg: "Re: HELP - smtp is pissing me off"
- Next in thread: Gerald W. Lester: "Re: Exec under W2K (DOS)"
- Reply: Gerald W. Lester: "Re: Exec under W2K (DOS)"
- Reply: Andreas Otto: "Re: Exec under W2K (DOS)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]