A small change to SPort

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

A small change to SPort

EstebanLM
Hi,
(This is specially for Janko)
I made a small change to SPort, because I need to execute command shell
scripts, and the functionality is not implemented on SPort for Pharo.
What I made is simply this:

runShellCommandString: aCommandString
        | processClass |
       
        processClass := Smalltalk
                at: #OSProcess
                ifAbsent: [ self error: 'OSProcess is not installed, you need to
install it before execute #runShellCommandString:'].
       
        ^processClass
                perform: #command:
                with: aCommandString.

I want to commit it, but I don't have write rights to SPort project...
can you add this method change?

Cheers,
Esteban