blob: 352d8c305e1ab34a1a519bafb4b97d395701e472 [file] [log] [blame]
! cue cmd errcode
! stdout .
cmp stderr cmd_baddisplay.out
-- cmd_baddisplay.out --
command "ls --badflags" failed: exit status 2
-- task.cue --
package home
message: "Hello world!"
-- task_tool.cue --
package home
command errcode: {
task bad: exec.Run & {
kind: "exec"
cmd: "ls --badflags"
stderr: string // suppress error message
}}