Library for shell interfacing on Mac
Hi, what is the recommended way to execute shell commands on Mac from Pharo? Apparently NBMacShell is not supported anymore. Thanks, Peter
I use OSProcess and CommandShell in Pharo 4.0. Works well. Load them by Gofer new squeaksource: 'OSProcess'; package: 'OSProcess'; load. Gofer new squeaksource: 'CommandShell'; package: 'CommandShell-Piping'; load. and then do something like PipeableOSProcess command: 'netstat -a | grep LISTEN | grep 27017' On Mon, Feb 29, 2016 at 1:07 AM, Peter Uhnák <i.uhnak@gmail.com> wrote:
Hi,
what is the recommended way to execute shell commands on Mac from Pharo?
Apparently NBMacShell is not supported anymore.
Thanks, Peter
Forgot add that this info is from http://pharo.gemtalksystems.com/book/PharoTools/OSProcess/ On Monday, February 29, 2016, john pfersich <jpfersich@gmail.com> wrote:
I use OSProcess and CommandShell in Pharo 4.0. Works well. Load them by
Gofer new squeaksource: 'OSProcess'; package: 'OSProcess'; load. Gofer new squeaksource: 'CommandShell'; package: 'CommandShell-Piping'; load. and then do something like
PipeableOSProcess command: 'netstat -a | grep LISTEN | grep 27017'
On Mon, Feb 29, 2016 at 1:07 AM, Peter Uhnák <i.uhnak@gmail.com <javascript:_e(%7B%7D,'cvml','i.uhnak@gmail.com');>> wrote:
Hi,
what is the recommended way to execute shell commands on Mac from Pharo?
Apparently NBMacShell is not supported anymore.
Thanks, Peter
Thanks John. Peter, can you updating the GraphViz layout with OSProcess? That would be really helpful Cheers, Alexandre
On Feb 29, 2016, at 10:54 AM, john pfersich <jpfersich@gmail.com> wrote:
I use OSProcess and CommandShell in Pharo 4.0. Works well. Load them by
Gofer new squeaksource: 'OSProcess'; package: 'OSProcess'; load.
Gofer new squeaksource: 'CommandShell'; package: 'CommandShell-Piping'; load.
and then do something like
PipeableOSProcess command: 'netstat -a | grep LISTEN | grep 27017'
On Mon, Feb 29, 2016 at 1:07 AM, Peter Uhnák <i.uhnak@gmail.com> wrote: Hi,
what is the recommended way to execute shell commands on Mac from Pharo?
Apparently NBMacShell is not supported anymore.
Thanks, Peter
-- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Hi Alexandre, Peter, on Mac OS/X and Pharo 5/Spur, you should use OSSubprocess[1]. Thierry [1] http://forum.world.st/ANN-OSSubprocess-first-milestone-tp4871382.html Le 29/02/2016 18:30, Alexandre Bergel a écrit :
Thanks John. Peter, can you updating the GraphViz layout with OSProcess? That would be really helpful
Cheers, Alexandre
On Feb 29, 2016, at 10:54 AM, john pfersich <jpfersich@gmail.com> wrote:
I use OSProcess and CommandShell in Pharo 4.0. Works well. Load them by
Gofer new squeaksource: 'OSProcess'; package: 'OSProcess'; load.
Gofer new squeaksource: 'CommandShell'; package: 'CommandShell-Piping'; load.
and then do something like
PipeableOSProcess command: 'netstat -a | grep LISTEN | grep 27017'
On Mon, Feb 29, 2016 at 1:07 AM, Peter Uhnák <i.uhnak@gmail.com> wrote: Hi,
what is the recommended way to execute shell commands on Mac from Pharo?
Apparently NBMacShell is not supported anymore.
Thanks, Peter
participants (4)
-
Alexandre Bergel -
john pfersich -
Peter Uhnák -
Thierry Goubier