Job Control (xonsh.jobs)
Job control for the xonsh shell.
-
xonsh.jobs.add_job(info)[source]
Add a new job to the jobs dictionary.
-
xonsh.jobs.bg(args, stdin=None)[source]
xonsh command: bg
Resume execution of the currently active job in the background, or, if a
single number is given as an argument, resume that job in the background.
-
xonsh.jobs.fg(args, stdin=None)[source]
xonsh command: fg
Bring the currently active job to the foreground, or, if a single number is
given as an argument, bring that job to the foreground.
-
xonsh.jobs.get_next_job_number()[source]
Get the lowest available unique job number (for the next job created).
-
xonsh.jobs.get_next_task()[source]
Get the next active task and put it on top of the queue
-
xonsh.jobs.get_task(tid)[source]
-
xonsh.jobs.ignore_sigtstp()[source]
-
xonsh.jobs.jobs(args, stdin=None)[source]
xonsh command: jobs
Display a list of all current jobs.
-
xonsh.jobs.kill_all_jobs()[source]
Send SIGKILL to all child processes (called when exiting xonsh).
-
xonsh.jobs.print_one_job(num)[source]
Print a line describing job number num.
-
xonsh.jobs.wait_for_active_job()[source]
Wait for the active job to finish, to be killed by SIGINT, or to be
suspended by ctrl-z.