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:

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/


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