int kexecvp(
const char *arg0,
char *const args[])
none
The routine will execute another process (specified by arg0) and replace the current core image with the specified core. For example, the command:
"vfileinfo -i1 file"
would be specified as:
arg0 = "vfileinfo"
args[0] = "vfileinfo" args[1] = "-i1" args[2] = "file" args[3] = NULL
If the command is to be executed on a different machine such as "borris" then the same command would look like:
"vfileinfo@borris -i1 file"
would be specified as:
arg0 = "vfileinfo@borris"
args[0] = "vfileinfo@borris" args[1] = "-i1" args[2] = "file" args[3] = NULL
If the command is to be executed on a different machine such as "borris", and the file to be read is on "natasha" then the command would look like this:
"vfileinfo@borris -i1 file@natasha"
would be specified as:
arg0 = "vfileinfo@borris"
args[0] = "vfileinfo@borris" args[1] = "-i1" args[2] = "file@natasha" args[3] = NULL
none
none
$BOOTSTRAP/objects/library/kutils/src/ktransport.c