mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-03 00:30:05 +08:00
feat(job): support detached opt
This commit is contained in:
parent
d4a6d1fae4
commit
9241c6c089
@ -57,7 +57,9 @@ function M.start(cmd, opts)
|
||||
local opt = {
|
||||
stdio = { stdin, stdout, stderr },
|
||||
args = argv,
|
||||
cwd = opts.cwd or nil
|
||||
cwd = opts.cwd or nil,
|
||||
hide = true,
|
||||
detached = opts.detached or nil
|
||||
}
|
||||
_jobid = _jobid + 1
|
||||
local current_id = _jobid
|
||||
|
Loading…
Reference in New Issue
Block a user