OS
Performs the execution of commands in the operating system, manipulation of files and folders.
command
_os.command(command: [Ljava.lang.String;[]) : OSCommand
Description
Executes a command in the operating system and obtains the result of the execution, the first item is the command and the following are parameters.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
command | [Ljava.lang.String;[] | The command and optional parameters that will be executed. |
Return
( OSCommand )
Result of executing the command in the operating system, including the output.
_os.command(command: java.util.List) : OSCommand
Description
Executes a command in the operating system and obtains the result of the execution, the first item is the command and the following are parameters.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
command | java.util.List | The command and optional parameters that will be executed. |
Return
( OSCommand )
Result of executing the command in the operating system, including the output.
_os.command(command: Values) : OSCommand
Description
Executes a command in the operating system and obtains the result of the execution, the first item is the command and the following are parameters.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
command | Values | The command and optional parameters that will be executed. |
Return
( OSCommand )
Result of executing the command in the operating system, including the output.
directory
_os.directory() : string
Description
Gets the path where the commands will be executed.
Return
( string )
The location where the command will be executed.
_os.directory(directory: string) : OS
Description
Defines the path where the commands will be executed.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
directory | string | The location where the command will be executed. |
Return
( OS )
Instance of the operating system resource.
_os.directory(directory: File) : OS
Description
Defines the path where the commands will be executed.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
directory | File | The location where the command will be executed. |
Return
( OS )
Instance of the operating system resource.