Re: tcl - exec will block the main thread if not return on Windows
- From: Ron Fox <fox@xxxxxxxxxxxx>
- Date: Tue, 30 Oct 2007 07:16:24 -0400
Works perfectly well for me. What version of Tcl/Tk are you
using. Is it ActiveTcl or your own build?
Ron.
vian1381@xxxxxxxxxxxx wrote:
The exec manual said "To start an instance of notepad editing a file.
without waiting for the user to finish editing the file: exec notepad
myfile.txt &", but I tried on my application, it throws an error that
"couldn't duplicate output handle: bad file number".
What's the problem?
On Unix, "exec vi myfile &" works well, I continue the operation on my
application without exiting vi.
On Windows, "exec notepad myfile.txt" will block my application, I
have to exit notepad before I can operate my application.
Does anyone know the reason?
Thanks in advance!
Vian
- Follow-Ups:
- Re: tcl - exec will block the main thread if not return on Windows
- From: Gerald W. Lester
- Re: tcl - exec will block the main thread if not return on Windows
- Prev by Date: TclOO: questions (Method Chaining, next, my variable)
- Next by Date: Re: TclOO: questions (Method Chaining, next, my variable)
- Previous by thread: Re: tcl - exec will block the main thread if not return on Windows
- Next by thread: Re: tcl - exec will block the main thread if not return on Windows
- Index(es):
Relevant Pages
|