Specifications

Deletes the directory dirName if possible; otherwise throws
an exception.
rmdir( dirName : String )
Deletes this directory if possible; otherwise throws an
exception.
rmdir()
Deletes the directory structure dirName if possible; otherwise
throws an exception.
rmdirs( dirName : String )
Deletes this directory structure if possible; otherwise throws
an exception.
rmdirs()
Returns true if the file fileName exists; otherwise returns false.
fileExists( fileName : String ) :
Boolean
Sets the application's current working directory to this directory
if possible; otherwise throws an exception.
setCurrent()
Process class
The Process class is used to start external programs and to communicate with them. It can start
programs in one of three modes, as described in the following table:
CommentsFunctionMode
The calling script blocks until the
external program has finished;
Process.execute()Synchronous
stdout/stderr are collected in the
corresponding properties
The calling script continues in
parallel with the external program
new Process().start()Asynchronous
and can communicate with its stdin
and stdout/stderr through the
corresponding write...() and
read...() functions
The external program is started in
a separate process; the calling script
Process.startDetached()Detached
continues in parallel with the
external program but it can NOT
communicate with its stdin and
stdout/stderr
Static properties
Contains the data sent to stdout during the last call to
Process.execute(). This property is read-only.
stdout : String
Contains the data sent to stderr during the last call to
Process.execute(). This property is read-only.
stderr : String
422
Enfocus Switch 10