Re: [Windows] executing a configure script from a tcl scrip
- From: claird@xxxxxxxxx (Cameron Laird)
- Date: Thu, 24 Jul 2008 14:10:11 +0000
In article <7198dbb4-c855-4777-9ce4-d74de96a08c6@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
Nicolas Castagne <castagne@xxxxxxx> wrote:
Hi folks,.
I am using tcl to manage the building of the (many) projects that are
involved in my application.
Some of these projects are based on GNU autoconf / automake tools.
I am having problem to launch the configure script from tcl.
I lanch tclsh85 from msys, from the directory where the configure
script is.
Executing :
% exec configure
Produces the error :
couldn't execute "configure": no such file or directory
The best I found is something :
% exec sh -c "configure --with-tcl=e:/developpement/Tcl/lib" >@
stdout 2>@1
However :
1 - since the script is multiplatform, I'd like to get rid of the "sh -
c" command.
How can I run my configure scrip from a tcl script without executing
explicitely sh ?
2 - dunno why, but with "exec sh -c "configure ...", the shell run is
apparently more or less detached : killling the tclsh process does not
kill the child sh process
Perhaps you'd have a tip on this question ?
.
.
Is the difference between
exec configure ...
and
exec $DIRECTORY_WHERE_CONFIGURE_CAN_BE_FOUND/configure ...
helpful to you?
.
- Follow-Ups:
- Re: [Windows] executing a configure script from a tcl scrip
- From: Don Porter
- Re: [Windows] executing a configure script from a tcl scrip
- References:
- [Windows] executing a configure script from a tcl scrip
- From: Nicolas Castagne
- [Windows] executing a configure script from a tcl scrip
- Prev by Date: Re: how to download a file from webserver
- Next by Date: Re: Can't call tcl library function in a VS2005 mfc app
- Previous by thread: [Windows] executing a configure script from a tcl scrip
- Next by thread: Re: [Windows] executing a configure script from a tcl scrip
- Index(es):
Relevant Pages
|