Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Authenticated: #14308112 Date: Thu, 4 Aug 2005 14:59:18 +0300 From: Pavel Tsekov X-X-Sender: ptsekov AT mordor To: Gansta93 cc: cygwin AT cygwin DOT com Subject: Re: Problem with exec and some suggestions In-Reply-To: <006201c598e7$faa03d80$0303a8c0@wanadoo.adsl> Message-ID: References: <005601c598e2$d9891e00$0303a8c0 AT wanadoo DOT adsl> <006201c598e7$faa03d80$0303a8c0 AT wanadoo DOT adsl> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=X-UNKNOWN X-Y-GMX-Trusted: 0 X-IsSubscribed: yes Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from QUOTED-PRINTABLE to 8bit by delorie.com id j74BwkoR026980 Hello, Please, keep the discussion on the list. I read it and so do others. The first column of the command output shows the file's permissions. For some reason you lack execute permissions for the given file. Try changing the permission of the file using the chmod command: chmod 755 pbcompiler On Thu, 4 Aug 2005, Gansta93 wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hello, > > When I type your command, I have : > "-rw-r--r-- 1 UserName all 183248 Aug 4 12:46 pbcompiler" > Firsts letters are the permitions? > Thanks for your help. > > Patrick > - ----- Message d'origine ----- > De : "Pavel Tsekov" > À : "Gansta93" > Cc : > Envoyé : jeudi 4 août 2005 13:20 > Objet : Re: Problem with exec and some suggestions > > > > 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/