Modify ↓
Ticket #615 (closed enhancement: fixed)
Sudo new generation
| Reported by: | ejhernandez@… | Owned by: | juruen@… |
|---|---|---|---|
| Milestone: | Component: | base | |
| Severity: | normal | Keywords: | sudo |
| Cc: |
Description (last modified by ejhernandez@…) (diff)
Currently EBox::Sudo::command is quite essential since it just returns the output in a list ref.
It could be a great benefit to return a hash ref with at least the following public keys:
- retValue : the return value given by the command (Unix-like: 0 success, otherwise fail)
- standardOutput : an array ref with the standard output, one line per element
- standardError : an array ref with the standard error, one line per element
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
Formatting correctly