Created
September 30, 2019 13:44
-
-
Save PabloMansanet/42888cca98b64bc5f4ab6285852a3c41 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import osproc | |
type | |
process_state = object | |
system_process: osproc.Process | |
proc process*(command: string): process_state = | |
result = process_state( | |
system_process: startProcess( | |
command: command | |
) | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment