This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Problem with exec and some suggestions
- From: Manuel Soto <mrsoto at yahoo dot com>
- To: cygwin at cygwin dot com
- Date: Wed, 03 Aug 2005 22:26:19 -0400
- Subject: Re: Problem with exec and some suggestions
- References: <00a701c5983d$e63cd2e0$0303a8c0@wanadoo.adsl>
Gansta93 wrote:
> Hello,
>
> I am new user of Cygwin and a beginer on Linux.
> I have downloaded all Cygwin packages today. 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.
> Why can't I type dirrectly the name of the executable? Else what can
> I do for stop closing the consol when using exec? I am on Windows 98.
> What can I do?
> And two suggestions: an uninstaller would be good and a confirmation
> after clicking on cancel button would be better than closing directly
> the installation window.
> Excuse me for my English, I am french.
>
> Best regards,
>
> Patrick
>
In W$ and DOS you have "." as default PATH, in unix/linux you have to
add "." to the PATH or exec the program as
./program arguments
exec replace the current process w/new one and works as you experiment
if the console is replaced.
--
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/