Executing programs¶
Blocking and on the console¶
1 | |
Reading to strings and lists¶
1 2 3 4 5 | |
Redirects¶
1 2 3 4 5 6 7 8 | |
Catching subprocess failures¶
1 2 3 4 5 6 7 8 | |
A shorter way:
1 2 | |
Run in the background¶
1 2 3 4 5 | |
1 | |
1 2 3 4 5 | |
1 2 3 4 5 6 7 8 | |
1 2 3 4 5 6 7 8 | |
A shorter way:
1 2 | |
1 2 3 4 5 | |