Skip to content
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

Add background execution #26

Open
DarkEye123 opened this issue May 30, 2017 · 4 comments
Open

Add background execution #26

DarkEye123 opened this issue May 30, 2017 · 4 comments
Assignees
Milestone

Comments

@DarkEye123
Copy link

I need in some occasions a background execution of some commands.
With it it would be great to store a pid of such process too

@davydany
Copy link
Owner

This is a great suggestion. I do plan to implement it as part of a future update.

@davydany davydany self-assigned this Jun 13, 2017
@davydany davydany added this to the 0.6.0 milestone Jun 13, 2017
@davydany davydany modified the milestones: 0.7.0, 0.6.0 Sep 10, 2017
@metaperl
Copy link

bump.

@davydany
Copy link
Owner

Noted :-) I see 3 more upvotes... I'm tied up with a few other projects. Look for an update to this in 2 weeks.

@davydany
Copy link
Owner

As a workaround, you can add & to the end of your command, and get the output from result.stdout and parse it for the PID.

https://stackoverflow.com/questions/1908610/how-to-get-pid-of-background-process

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

No branches or pull requests

3 participants