blob: e8ff6d1c2947bc7569d6266aefabf50cff196ece [file] [log] [blame]
! cue cmd errcode
! stdout .
stderr '^command "ls --badflags" failed: exit status [12]$'
-- 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
}}