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

Conversation

@SlaunchaMan
Copy link
Contributor

SlaunchaMan commented Jan 16, 2020

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

This comment has been minimized.

Copy link
Collaborator

tcamin commented Jan 17, 2020

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

@tcamin
tcamin approved these changes Jan 18, 2020
@tcamin tcamin merged commit a6e4683 into Subito-it:master Jan 18, 2020
@SlaunchaMan SlaunchaMan deleted the SlaunchaMan:long-running-commands branch Jan 18, 2020
@SlaunchaMan

This comment has been minimized.

Copy link
Contributor Author

SlaunchaMan commented Jan 18, 2020

Awesome, thanks for merging so quickly!

@tcamin

This comment has been minimized.

Copy link
Collaborator

tcamin commented Jan 19, 2020

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

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.