Skip to content

Add behaviors to independent shellcommand to allow for status of 'error' #311

@vanderpol

Description

@vanderpol

In the current design of the independent shellcommand, any errors that occur when running arbitrary system commands are captured as part of standard out, but have no impact the status of the collected item. This is by design, as certain commands, such as a find command may return back a bit of noise.

Proposal: Add a behavior to give the content author control of what standard errors mean, and if they should be displayed

For the behavior, some options are

  • Include_stderror (include standard error in the system data item, but it has no impact on the item's status, default)
  • Ignore_stderror (exclude all stderror messages, same as if command redirected stderror /dev/null)
  • Item_error_if_stderror (include standard error messages in the system data item, AND mark the system data item status as 'error')

We could also give the content author complete control and put in a stderror pattern in the object to allow content authors to filter and only see certain errors as they see fit.

Thoughts?

Metadata

Metadata

Labels

Platform IndependentIssue related to the Platform Independent schema

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions