Skip to content

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

Merged
tcamin merged 2 commits into
Subito-it:masterfrom
SlaunchaMan:long-running-commands
Jan 18, 2020
Merged

Enable long-running commands that can be terminated or interrupted.#3
tcamin merged 2 commits into
Subito-it:masterfrom
SlaunchaMan:long-running-commands

Conversation

@SlaunchaMan

Copy link
Copy Markdown
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

tcamin commented Jan 17, 2020

Copy link
Copy Markdown
Member

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
Copy Markdown
Contributor Author

Awesome, thanks for merging so quickly!

@tcamin

tcamin commented Jan 19, 2020 via email

Copy link
Copy Markdown
Member

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