Re: How to execute a shell command with gcc fortran 13.4.0-1?

Jean-Pierre Coulon via Cygwin <[email protected]> Sat, 11 Apr 2026 09:47:51 +0200
Newsgroups gmane.os.cygwin
Message-ID <[email protected]>
On Sat, 11 Apr 2026, Thomas Wolff via Cygwin wrote:

>> sh: line 1: c:\ibmtools\winvi32.exe: command not found, although it works 
>> perfectly when I type it  in the command prompt.
> How FORTRAN system() invokes the command is probably more a FORTRAN question 
> than a cygwin question but you should try to vary path syntax first:
> C:/ibmtools/...
> or rather as a POSIX path
> /cygdrive/c/ibmtools/...

Thanks. It works if I change \ into / in my command line.

-- 
Jean-Pierre Coulon                         E-mail: [email protected]
Observatoire de la Cote d'Azur
Departement ARTEMIS
CS 34229
06304 NICE CEDEX 4
Tel : boulot: 04 92 00 31 74
       maison: 04 22 79 62 09
     portable: 06 62 68 39 97 mais je merde pas mal avec :-(

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple