diff --git a/app.go b/app.go index 3b4541c..fbc24e1 100644 --- a/app.go +++ b/app.go @@ -429,5 +429,11 @@ func (app *app) runShell(s string, args []string, prefix string) { app.ui.cmdPrefix = "" app.ui.exprChan <- &callExpr{"load", nil, 1} }() + case "&": + go func() { + if err := cmd.Wait(); err != nil { + log.Printf("running shell: %s", err) + } + }() } }