c c Routine directly callable from C/C++ (it could be necessary to c append an underscore, "_", to its name depending on the C/C++ c compiler used). c c subroutine sysspawn(emodule, stdinput, stdoutput, rc) c c Spawning a slave OS process to run a given module. c c Written by: S. J. Sciutto, La Plata 1999. c c Arguments: c ========= c c emodule......... (input, character*(*)) The module to execute. c stdinput........ (input, character*(*)) Name of a file to be c connected to the standard input channel. If the c name is the null or blank string, no assignment c is done, and the modules inherits the standard c input channel of the calling program. c stdoutput....... (input, character*(*)) Name of a file to be c connected to the standard output channel. If the c name is the null or blank string, no assignment c is done, and the modules inherits the standard c output channel of the calling program. The c standard error channel is always connected to c this output stream. c rc.............. (output, integer) The system return code after c the spawned process ends. c c c<--->
These pages are maintained by Sergio J. Sciutto |
Back to AIRES library index |
Back to AIRES home |