Opened 7 years ago

Closed 7 years ago

#143 closed enhancement (fixed)

Update executeconsolecommand API

Reported by: Christian Illy Owned by: Christian Illy
Priority: major Component: Server fixes
Keywords: Cc:

Description

Add parameter to toggle output to result-string only instead of object with command+arguments.

Check how those API calls are logged in relation to command execution.

Change History (2)

comment:1 by Christian Illy, 7 years ago

Added parameter "simple", will only output the JSON formatted string instead of the object.

Still checking on the logging.

comment:2 by Christian Illy, 7 years ago

Resolution: fixed
Status: newclosed

Allows for "raw" (command result text only), "simple" (command result text only but encoded as a JSON string) or the regular one (command + arguments + result as JSON object).

Also the additional log that shows how long execution took is now hidden when HideCommandExecutionLog is >= 1.

Note: See TracTickets for help on using tickets.