Login  Register

Re: command line command from pharo image

Posted by Sabine M. on Dec 06, 2013; 2:30pm
URL: https://forum.world.st/command-line-command-from-pharo-image-tp4727751p4728032.html

Nicolai,

thank you very much for clarification. Indeed: there was a silly error in my command when copying it from Mac to windows (path) and the notepad test worked. So the problem is solved for me. I can call from Mac OS and from Windows and I am happy:-)

Regards
Sabine


On Fri, Dec 6, 2013 at 1:43 PM, Nicolai Hess [via Smalltalk] <[hidden email]> wrote:
2013/12/6 Sabine Knöfel <[hidden email]>
Hi Torsten, Sean,

http://smalltalkhub.com/#!/~OS/OS-Windows
looks great.

I have not found a solution yet to send a call to OS from pharo (I develop
with mac since a few weeks now and deployment is currently windows) and I am
thinking about moving to Pharo 3.0 for further development due to the OS
call problem.

Do you think, Pharo 3.0 is ready to use it for development or should I wait
and look for another solution?

Regards
Sabine



--
View this message in context: http://forum.world.st/command-line-command-from-pharo-image-tp4727751p4727902.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.



Hi,

Pharo2 doesn't work for you?
I tried both Pharo2 and 3.

In
Pharo2.0
Latest update: #20593
with latest stable OSProcess loaded form ConfigurationManager
I can execute
OSProcess command:'notepad.exe'

without problems.

But only as long as the command can be found otherwise  ExternalWindowsOSProcess tries to write
that error message to ExternalWindowsOSProcess>>initialStdErr.
And this does not work. (And it doesn't work in Pharo3)
(bug StdErr not working on Windows https://pharo.fogbugz.com/default.asp?11615)





If you reply to this email, your message will be added to the discussion below:
http://forum.world.st/command-line-command-from-pharo-image-tp4727751p4727984.html
To start a new topic under Pharo Smalltalk Users, email [hidden email]
To unsubscribe from command line command from pharo image, click here.
NAML