delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/01/17/12:31:24

From: bcboy AT dorothy DOT wanglab DOT brandeis DOT edu (Brian Craft)
Subject: tcl, exec, starting a console
17 Jan 1998 12:31:24 -0800 :
Message-ID: <19980115163027.04096.cygnus.gnu-win32@dorothy.wanglab.brandeis.edu>
Mime-Version: 1.0
To: gnu-win32 AT cygnus DOT com

Hi. I'm wondering how I can start a program in a separate window from tcl.

Under Unix I pop up an xterm, but I haven't figured out a way to
start another console with cygwin. In tcl

exec ls

Produces what you might expect, returning the result to tcl. Executing bash,
however, produces just what it would under Unix: nothing. It doesn't pop up a
console, it just returns immediately. I also tried exec'ing a DOS script (.bat
file) which starts bash, and running command.com, but both just hang.

All this was on Win95, running coolview, wish42 and entering tcl exec commands
into the console.


b.c.
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019