Executes the command line argument by directly running the command. On UNIX, this function behaves similar to system(3). On Windows, this function works with CreateProcess(). To provide wild card expansion or redirection to a file, use clCmd().
clSystem(string Cmdline);
Parameter |
Description |
---|---|
Cmdline |
String that allows you to enter the command you want to execute. |
Integer.
Returns the 8-bit exit status of the command line program for success.
On UNIX, returns the negative value of the UNIX error number (as documented in the UNIX errno.h file), and on Windows, returns the 8-bit exit status of the command line program for failures.
Copyright © 2005. Sybase Inc. All rights reserved. |
![]() |