Skip to content
This repository has been archived by the owner on Jun 27, 2023. It is now read-only.

process async execute #151

Merged
merged 3 commits into from
May 24, 2018
Merged

process async execute #151

merged 3 commits into from
May 24, 2018

Conversation

tanner0101
Copy link
Member

Adds support for asynchronously execute a process.

let status = try Process.asyncExecute("echo", "hi", on: ...) { output in
    print(output) // ProcessOutput (stderr or stdout)
}.wait()
print(result) // 0

@tanner0101 tanner0101 added this to the 3.2.0 milestone May 24, 2018
@tanner0101 tanner0101 self-assigned this May 24, 2018
@penny-coin
Copy link

Hey @tanner0101, you just merged a pull request, have a coin!

You now have 679 coins.

@tanner0101 tanner0101 merged commit 2dfc2bd into master May 24, 2018
@tanner0101 tanner0101 deleted the process-async-execute branch May 24, 2018 16:49
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants