Xbasic

Helper::ShellProcess Class

Description

Class to support running shell programs.

Properties

outputCharacter

String output property

errorCharacter

String error property

Methods

Create Method

Return a process to interact with, flag objects '-e' don't differentiate errors from other output.

InteractiveCommandArgumentHelp Method

Returns optional list of arguments with descriptions (for completion).

InteractiveCommandHelp Method

Returns optional command help.

InteractiveCommands Method

Returns a list of interactive commands (for shell).

InteractiveCommandsLoad Method

Load json auto-help.

InteractiveCommandsReload Method

Reload config files (should be called when user changes config).

KillProcess Method

Kill a running process using an id.

processIsRunning Method

Returns true if Process is still running.

waitUntilTerminate Method

Wait for the process to terminate.

writeInput Method

Write to processes input queue.

See Also