Open
Description
So just like doing some bash jobs i want to open a new powershell job, but unlike bash i get a weird behavior where it does whatever job i want it to BUT opens a "terminal"? at the end:
When i write exit to exit this "terminal" it literally closes my terminal tab... why?
- Code
function lspmanager.test(hi)
job:new({
command = 'powershell',
cwd = '.',
args = {'-Command', [[
New-Item -Name "hi" -ItemType "directory"
exit 0
]]},
on_exit = function (j, return_val)
if return_val == 0 then
print("lmao")
end
end
}):start()
end
Metadata
Metadata
Assignees
Labels
No labels