TheRoddyWMS / BatchEuphoria

A library to access different kinds of cluster backends
MIT License
3 stars 5 forks source link

Exceptions should contain stderr when a command failed #93

Open askask opened 6 years ago

askask commented 6 years ago

When executing a command (bsub, bjobs, etc.) fails and BE throws an exception, it would be nice if the exception message would contain stderr of that command. To implement this, method in ExecutionResult needs to be extended.

vinjana commented 6 years ago

Related to #30

vinjana commented 8 months ago

Note that Roddy contains an SSHExecutionService class that does log output of commands. It is itself not usable outside Roddy, but might be helpful for an implementation.

Handling of inputs and outputs should be a central piece of the execution API.