[Pharo-project] A small change to SPort

Esteban Lorenzano estebanlm at gmail.com
Thu Oct 28 08:47:41 EDT 2010


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






More information about the Pharo-dev mailing list