PXFEXECVP

POSIX Subroutine: Executes a new process by passing command-line arguments.

Module

USE IFPOSIX

構文

CALL PXFEXECVP (file,lenfile,argv,lenargv,iargc,ierror)

file

(Input) Character. The filename of the new executable process.

lenfile

(Input) INTEGER(4). The length of file string.

argv

(Input) An array of character strings. Contains the command-line arguments to be passed to the new process.

lenargv

(Input) INTEGER(4). An array that contains the lengths for each corresponding character string in argv.

iargc

(Input) INTEGER(4). The number of command-line arguments.

ierror

(Input) Character. The filename of the new executable process.

If successful, ierror is set to zero; otherwise, an error code.

The PXFEXECVP subroutine executes a new executable process(file) by passing command-line arguments specified in theargv array. It uses the PATH environment variable to find the file to execute.

Compatibility

CONSOLE STANDARD GRAPHICS QUICKWIN GRAPHICS WINDOWS DLL LIB

関連情報


このヘルプトピックについてのフィードバックを送信

© 1996-2011 Intel Corporation. 無断での引用、転載を禁じます。