fileevent
From: arenaTR (arenaTR_at_comcast.net)
Date: 12/29/03
- Next message: Frost: "Re: Expect and backspace characters"
- Previous message: GuRU: "looking for tuba srcs"
- Next in thread: Gerald Lester: "Re: fileevent"
- Reply: Gerald Lester: "Re: fileevent"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 29 Dec 2003 17:33:28 -0500
I have a process I'm starting and putting into a pipe:
set pipe [open "| \"$executable_name\" \"$file\""]
after this process starts, I want to feed the executable that I'm calling
more parameters. If I use exec, another instance of the executable is
started, which is not what I want. Instead, I want to just call the same
executable and have it open the new file.
I believe that this is possible with this executable becuase in WinXP, I can
open two files separately and the both go into only one instance of the same
program.
So, I feed it a fileevent, which does nothing but open another instance:
fileevent $pipe readable $file
Is this the right construction? Thank you in advance for your help.
- Next message: Frost: "Re: Expect and backspace characters"
- Previous message: GuRU: "looking for tuba srcs"
- Next in thread: Gerald Lester: "Re: fileevent"
- Reply: Gerald Lester: "Re: fileevent"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|