Chapter 8 Utility Library
© National Instruments Corporation 8-45 LabWindows/CVI Standard Libraries
Refer to your DOS documentation for further help with command.com. DOS executables
(.exe, .com, and .bat files) use the settings in _default.pif (in your Windows
directory) when they are running. You can change their priority, display options, and more by
editing _default.pif or by creating another .pif file. Refer to your Microsoft Windows
documentation for help on creating and editing .pif files.
Parameter
Input fileName string Pathname of executable file and
arguments.
Return Value
result integer Result of operation.
Return Codes Under UNIX
0 Command was successfully started.
-1 The system-imposed limit on the total number of processes under execution or the
total number of processes per user would be exceeded. This limit is determined
when the system is generated.
-2 There is insufficient swap space for the new process.
-3 vfork failed for unknown reason.
-4 Search permission is denied for a directory listed in the path prefix of the new
process image file, or the new process image file denies execution permission, or
the new process image file is not a regular file.
-5 The length of the path or file, or an element of the environment variable PATH
prefixed to a file exceeds {PATH_MAX}, or a pathname component is longer than
{NAME_MAX} while {_POSIX_NO_TRUNC} is in effect for that file (see man
page for pathconf(2V)).
-6 One or more components of the pathname of the new process image file do not
exist.
-7 A component of the path prefix of the new process image file is not a directory.
-8 The number of bytes used by the new process image's argument list and
environment list is greater than {ARG_MAX} bytes (see man page for
sysconf(2V)).
-9 The new process image file has the appropriate access permission, but is not in the
proper format.