This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Problem with exec and some suggestions


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]