-
Notifications
You must be signed in to change notification settings - Fork 189
system: subprocessing interface #911
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
Merged
Merged
Changes from 36 commits
Commits
Show all changes
60 commits
Select commit
Hold shift + click to select a range
979ba84
add c source
perazz 79ddfc4
add subprocess module
perazz adacbcf
`to_c_string`: move to strings, document
perazz 5b543a2
use temporary `getfile` and `linalg_state_type` f
perazz 519d53d
implement `join`
perazz 1449b8d
fixes to build
perazz cf35194
create submodule
perazz e8451b2
unify `sleep` interface
perazz 48da380
add single-command `run` API
perazz 1f4de32
add tests
perazz 6fbc2e6
getfile: remove trailing new line characters
perazz f9bf304
fix tests to be cross-platform
perazz 71facb3
use `nanosleep` rather than `usleep`
perazz 6ea72d1
add examples
perazz e35b37a
`kill` process
perazz 237e9ff
add process killing example
perazz 2c58fca
on Windows, redirect to `NUL` if output not requested
perazz 136b5b8
remove unused process handle
perazz d8df028
document `run` interface
perazz 94f2bdf
document `is_running`, `is_completed`, `elapsed`
perazz 3fb88e4
add `system` page
perazz 53fc8e5
document `wait`
perazz b30cae4
document `update`
perazz 122fbc6
document `kill`
perazz 56ed7c8
document `sleep`
perazz c617048
document `has_win32`
perazz ed0565c
fix
perazz c03655a
Merge branch 'subprocess' of github.com:perazz/stdlib into subprocess
perazz eb77455
Merge branch 'fortran-lang:master' into subprocess
perazz 74b6ebe
change syntax for `ifx` fix
perazz 9873bc9
fix `sleep` us -> ns
perazz 34732ff
fix `pid` size
perazz 53b03b0
full-cmd: do not use stack
perazz 5a1bd54
fix `sleep`
perazz 9b74bea
process example 2: set max_wait_time
perazz bdb2840
sleep: fix `bind(C)` interface
perazz a1aaf2f
split `run` vs `runasync`
perazz 4d5eb32
`run/runasync` docs
perazz 56f02ab
`has_win32` -> `is_windows`
perazz 15689bc
Update example_process_1.f90
perazz 060dec7
Merge branch 'master' into subprocess
perazz 3560a6f
missing `is_windows` tests
perazz e75bbc9
Merge branch 'subprocess' of github.com:perazz/stdlib into subprocess
perazz d1a4715
Update example_process_4.f90
perazz 68dca8d
Merge branch 'fortran-lang:master' into subprocess
perazz 7653cc4
add object oriented interface
perazz 06c7136
add oop example
perazz f40a547
process ID (`pid`) getter interface
perazz d2ee2f2
implement callback
perazz 3f08a8b
add callback example
perazz d694dcf
fix submodule
perazz 80a2d0a
intel fix: no inline type
perazz 20c045d
document callback and payload functionality
perazz bb98188
Merge branch 'master' into subprocess
perazz 33f81a3
`to_c_string` -> `to_c_char`
perazz d8f8be7
Merge branch 'subprocess' of https://github.com/perazz/stdlib into su…
perazz deabd0c
Update doc/specs/stdlib_system.md
perazz f55ddb7
Update doc/specs/stdlib_system.md
perazz d4422cf
move all examples to separate files
perazz 0675b8c
Merge branch 'subprocess' of https://github.com/perazz/stdlib into su…
perazz File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.