This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Problem with exec and some suggestions
- From: Stein Somers <ssomers at opnet dot com>
- To: cygwin at cygwin dot com
- Date: Wed, 03 Aug 2005 17:23:08 +0200
- Subject: Re: Problem with exec and some suggestions
- References: <00a701c5983d$e63cd2e0$0303a8c0@wanadoo.adsl>
Gansta93 wrote:
The problem is when I
type exec And the executable name and parameters I want to pass to
it, the consol window close and I can't see the result of my command.
That's exactly what exec is for: transfer all control to the program you
specified. When it ends, everything ends: the command shell and the
window it lives in.
Just leave out the exec prefix.
Stein
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/