github.com/lmorg/murex@v0.0.0-20240217211045-e081c89cd4ef/builtins/core/processes/bgfg_plan9.go (about) 1 //go:build plan9 2 // +build plan9 3 4 package processes 5 6 import ( 7 "errors" 8 9 "github.com/lmorg/murex/lang" 10 "github.com/lmorg/murex/lang/types" 11 ) 12 13 func mkbg(p *lang.Process) error { 14 return errors.New("Invalid parameters. `bg` only supports a code block on Plan 9 because backgrounding a stopped process is not currently supported on Plan 9") 15 } 16 17 func cmdForeground(p *lang.Process) error { 18 p.Stdout.SetDataType(types.Null) 19 20 return errors.New("This function is currently not supported on Plan 9") 21 } 22 23 func unstop(p *lang.Process) {}