mirror of
https://github.com/go-sylixos/elvish.git
synced 2024-12-13 09:57:51 +08:00
eval: daemon:spawn now throws any spawning error.
This commit is contained in:
parent
f953ed9887
commit
8fc4841246
|
@ -28,5 +28,5 @@ func makeDaemonNamespace(daemon *api.Client) Namespace {
|
|||
func daemonSpawn(ec *EvalCtx, args []Value, opts map[string]Value) {
|
||||
TakeNoArg(args)
|
||||
TakeNoOpt(opts)
|
||||
ec.ToSpawn.Spawn()
|
||||
maybeThrow(ec.ToSpawn.Spawn())
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user