mirror of https://github.com/Hilbis/Hilbish
Compare commits
No commits in common. "3d0fffd49ada27f526747d453af0cf77825d3314" and "4e37e8ca473ec2131d2c91aa8e6c8dd51b1fd6cd" have entirely different histories.
3d0fffd49a
...
4e37e8ca47
|
@ -7,7 +7,7 @@ commander.register('bg', function(_, sinks)
|
||||||
return 1
|
return 1
|
||||||
end
|
end
|
||||||
|
|
||||||
local err = job:background()
|
local err = job.background()
|
||||||
if err then
|
if err then
|
||||||
sinks.out:writeln('bg: ' .. err)
|
sinks.out:writeln('bg: ' .. err)
|
||||||
return 2
|
return 2
|
||||||
|
|
|
@ -7,7 +7,7 @@ commander.register('fg', function(_, sinks)
|
||||||
return 1
|
return 1
|
||||||
end
|
end
|
||||||
|
|
||||||
local err = job:foreground() -- waits for job; blocks
|
local err = job.foreground() -- waits for job; blocks
|
||||||
if err then
|
if err then
|
||||||
sinks.out:writeln('fg: ' .. err)
|
sinks.out:writeln('fg: ' .. err)
|
||||||
return 2
|
return 2
|
||||||
|
|
Loading…
Reference in New Issue