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

Enable long-running commands that can be terminated or interrupted. #3

Merged
merged 2 commits into from
Jan 18, 2020
Merged

Enable long-running commands that can be terminated or interrupted. #3

merged 2 commits into from
Jan 18, 2020

Conversation

SlaunchaMan
Copy link
Contributor

This PR adds the ability for the Mac host to launch commands that run asynchronously. For instance you can use simctl io to record video during your UI tests. To do this, there are four new commands added as siblings of exec:

  • launch begins a process
  • status reports the process of a status, including its standard input/output
  • interrupt sends a SIGINT signal to the process and reports its status back
  • terminate sends a SIGTERM signal to the process and reports its status back

Processes are identified by UUIDs to avoid any potential conflicts with process IDs.

@tcamin
Copy link
Member

tcamin commented Jan 17, 2020

There's a small conflict to resolve, other than that looks good. 👍🏻

@tcamin tcamin merged commit a6e4683 into Subito-it:master Jan 18, 2020
@SlaunchaMan SlaunchaMan deleted the long-running-commands branch January 18, 2020 22:49
@SlaunchaMan
Copy link
Contributor Author

Awesome, thanks for merging so quickly!

@tcamin
Copy link
Member

tcamin commented Jan 19, 2020 via email

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

Successfully merging this pull request may close these issues.

2 participants