This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Problem with exec and some suggestions
- From: Pavel Tsekov <ptsekov at gmx dot net>
- To: Gansta93 <webmaster at gansta93 dot com>
- Cc: cygwin at cygwin dot com
- Date: Thu, 4 Aug 2005 14:20:44 +0300
- Subject: Re: Problem with exec and some suggestions
- References: <005601c598e2$d9891e00$0303a8c0@wanadoo.adsl>
Hello,
On Thu, 4 Aug 2005, Gansta93 wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> > 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
>
> Hello,
> Thanks. But when I just type the executable name, I have the message:
> "./pbcompiler: ./pbcompiler: Cannot execute binary file."
> where ofcourse pbcompiler is the executable I want to execute. Why?
> What can I do?
> Thanks in advance.
> Patrick
What is the output of the following command ?
ls -l pbcompiler
--
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/