mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-03-12 09:35:40 +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 = {
|
local opt = {
|
||||||
stdio = { stdin, stdout, stderr },
|
stdio = { stdin, stdout, stderr },
|
||||||
args = argv,
|
args = argv,
|
||||||
cwd = opts.cwd or nil
|
cwd = opts.cwd or nil,
|
||||||
|
hide = true,
|
||||||
|
detached = opts.detached or nil
|
||||||
}
|
}
|
||||||
_jobid = _jobid + 1
|
_jobid = _jobid + 1
|
||||||
local current_id = _jobid
|
local current_id = _jobid
|
||||||
|
Loading…
x
Reference in New Issue
Block a user