<< remote_exec remote_exec remoteExecScilab >>

remote_exec >> remote_exec > remoteExecCommand

remoteExecCommand

Execute commang on remote computer

Syntax

[ExecuteCode,..
СommandMessages,..
errorRemoteExecute,..
errorRemoteExecuteNumber,..
errorRemoteExecuteLine,..
errorRemoteExecuteFunction,..
connectedInformation..
]=remoteExecCommand(NodeIPExecute,..
NodePortExecute,..
ExecuteCommandName,..
ExecuteCommandArguments,..
FoneModeExecute)
[ExecuteCode,..
СommandMessages,..
errorRemoteExecute,..
errorRemoteExecuteNumber,..
errorRemoteExecuteLine,..
errorRemoteExecuteFunction,..
connectedInformation..
]=remoteExecCommand(NodeIPExecute,..
NodePortExecute,..
ExecuteCommandName,..
ExecuteCommandArguments)
[ExecuteCode,..
СommandMessages,..
errorRemoteExecute,..
errorRemoteExecuteNumber,..
errorRemoteExecuteLine,..
errorRemoteExecuteFunction,..
connectedInformation..
]=remoteExecCommand(NodeIPExecute,..
NodePortExecute,..
ExecuteCommandName)

Arguments

NodeIPExecute

Node's IP on whitch to execute adjusted command

NodePortExecute

Node's port on whitch to execute adjusted command

ExecuteCommandName

Execute command's name

ExecuteCommandArguments

Execute command's arguments (default: [])

FoneModeExecute

Execute command's mode: %t - command executing in background mode (default: %f)

Return values

ExecuteCode

Remote execute command rezult: 0 - execute sucsesfully, 1 - cannot connected to node, 2 - cannot execute command on node

СommandMessages

Remote execute command messages to console. If executing in background mode (FoneModeExecute == %t) then СommandMessages is execute commnad's ID

errorRemoteExecute

Discribing execute command errors

errorRemoteExecuteNumber

Discribing execute command errors number

errorRemoteExecuteLine

Discribing execute command errors line number in Scilab code

errorRemoteExecuteFunction

Discribing execute command errors function in Scilab code

connectedInformation

Information about connection to node

Description

Implementing adjusted command execution on a remote node. To execute this command on this node needing execServer on this node

To type in execute commands arguments symbols " must be used symbol \"". This symbol \"" is transmitted to the remote computer (node) as the symbol "

To type in execute commands arguments symbols \ must be used symbol \\. This symbol \\ is transmitted to the remote computer (node) as the symbol \

See also


Report an issue
<< remote_exec remote_exec remoteExecScilab >>