blob: 9f791b479c86c1c3aed2fb779fb2fabf1af5b1fd [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
import "tool/exec"
command: errcode: {
task: bad: exec.Run & {
kind: "exec"
cmd: "ls --badflags"
stderr: string // suppress error message
}}