New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Background Jobs #6

Open
nixpulvis opened this Issue Jul 23, 2018 · 4 comments

Comments

1 participant
@nixpulvis
Copy link
Owner

nixpulvis commented Jul 23, 2018

We need to support the basic fg, bg, and jobs, wait commands, background syntax &, and the signal SIGTSTP typically invoked via ctrl-z.

The disown command is standard in Bash, but I'm not sure how I feel about it yet.

The main design work here is going to be around the needed event loop / threading to properly track and manage background jobs while the main shell is running. I suppose a single threaded solution exists, but I doubt it's a good idea.

@nixpulvis nixpulvis changed the title Job tracking & cleanup Background Jobs Jul 23, 2018

This was referenced Jul 23, 2018

@nixpulvis nixpulvis added this to the POSIX milestone Oct 15, 2018

@nixpulvis nixpulvis modified the milestones: POSIX, Modern Oct 16, 2018

@nixpulvis

This comment has been minimized.

Copy link
Owner

nixpulvis commented Oct 17, 2018

Started in b78ae21

@nixpulvis

This comment has been minimized.

Copy link
Owner

nixpulvis commented Oct 22, 2018

The syntax seems to all be correctly parsing now, and I'm pretty sure I'm happy about background jobs owning a Command and not a Program.

@nixpulvis

This comment has been minimized.

@nixpulvis

This comment has been minimized.

Copy link
Owner

nixpulvis commented Oct 23, 2018

Going to try and sort this out on job-exec-ohmy.

@nixpulvis nixpulvis referenced this issue Oct 24, 2018

Open

Builtins #24

3 of 20 tasks complete

@nixpulvis nixpulvis pinned this issue Dec 27, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment