|
[Sponsors] |
March 16, 2008, 04:40 |
Running linux command within a fortran code
|
#1 |
Guest
Posts: n/a
|
Hi,
within my fortan code, I need to execute some linux commands like "rm" or "ren". How can I do that? Thanks alot! |
|
March 16, 2008, 15:31 |
Re: Running linux command within a fortran code
|
#2 |
Guest
Posts: n/a
|
It will work if you use a line of code like this:
.... call system("ls") ..... |
|
March 16, 2008, 21:58 |
Re: Running linux command within a fortran code
|
#3 |
Guest
Posts: n/a
|
Hey tks! It worked!
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
fortran code problem | ztdep | Main CFD Forum | 5 | September 8, 2009 05:22 |
Return code 1 in linux | Sae. kil | CFX | 0 | November 14, 2008 12:21 |
Gambit error when running under Linux 10.0 | Ralf Schmidt | FLUENT | 0 | July 19, 2006 10:00 |
Help on fortran code for FD 4th order | Miguel | Main CFD Forum | 0 | November 14, 2005 11:58 |
seeking fortran code for LEE | ahmed m.abdulla | Main CFD Forum | 0 | January 14, 1999 12:16 |