OSProcess and CommandShell updated on GitHub for Pharo

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

OSProcess and CommandShell updated on GitHub for Pharo

David T. Lewis
These updates bring OSProcess/CommandShell up to date with the latest
development versions, and include earlier fixes for Pharo by Max Leske.

The repositories are at
   https://github.com/dtlewis290/OSProcess-Tonel
   https://github.com/dtlewis290/CommandShell-Tonel

A new feature of possible interest is:
   OSProcess outputOf: 'ls -lR | wc -l'
 
This is a convenience method that handles parsing, piping, and error handling
for a unix-style command pipeline. Both OSProcess and CommandShell must be
loaded. Any errors detected in the external commands will be displayed in a
Pharo debugger, proceed through the debugger to obtain the final stdout result.

Dave


Reply | Threaded
Open this post in threaded view
|

Re: OSProcess and CommandShell updated on GitHub for Pharo

Sean P. DeNigris
Administrator
Thanks, Dave!!



-----
Cheers,
Sean
--
Sent from: http://forum.world.st/Pharo-Smalltalk-Developers-f1294837.html

Cheers,
Sean