Skip to content

"executeScript" method is not working with scripts which call "exit $err" #87

@sziller7

Description

@sziller7

We are calling an internal PowerShell Script which ends with line exit $err, where $err is mostly 0.
When we call the Script via executeCommand method everything works fine, but when we use executeScript the PowerShell script seems to be executed, be we don't get any output. isError() and isTimeout() are always true and getCommandOutput() is always empty.
If we remove the exit $err line, the executeScript method works correctly.

Since this won't be fixed, the "executeScript" method, can't be used.

Regards

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions