blob: 7a629f42a40f4e41c7ce8d2226976699ea44446a (
plain) (
blame)
1
2
3
4
5
6
7
8
|
Shellany captures command output.
Features:
- Portability (should work on recent JRuby versions).
- Capturing stdout, stderr in a convenient way.
- Returning the result in a convenient way.
- Detecting if a shell is needed (though incomplete/primitive implementation).
- Prevents running the same command multiple times.
|