Hi: I'm using Pharo-1.1 OneClick on Ubuntu 10.04. One project I am looking at would require the use of external commands. It appears I can use something like "ExternalUnixOSProcess command: 'do_something --option'" etc. I can perform external commands, but output from these still goes to stdOut. I looked into using CommandShell, but when I try and use this I get grumblings about not findng PluggableTextController and PluggableTextView. Using OSProcess or a subclass, is there a way I can launch an external command but capture the output (say, to a variable)? Does Pharo yet have the equivalent of the c popen() command? Is there a way to load CommandShell without it grumbling about the two packages mentioned above? Any information would be appreciated. Best Regards, Dean Powell Edmonton, Canada
Maybe David can gelp you. On Fri, Aug 20, 2010 at 9:06 AM, Dean Powell <powelldean@yahoo.com> wrote:
Hi:
I'm using Pharo-1.1 OneClick on Ubuntu 10.04. One project I am looking at would require the use of external commands. It appears I can use something like "ExternalUnixOSProcess command: 'do_something --option'" etc. I can perform external commands, but output from these still goes to stdOut. I looked into using CommandShell, but when I try and use this I get grumblings about not findng PluggableTextController and PluggableTextView.
Using OSProcess or a subclass, is there a way I can launch an external command but capture the output (say, to a variable)? Does Pharo yet have the equivalent of the c popen() command?
Is there a way to load CommandShell without it grumbling about the two packages mentioned above?
Any information would be appreciated.
Best Regards, Dean Powell Edmonton, Canada
_______________________________________________ Pharo-users mailing list Pharo-users@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-users
participants (2)
-
Dean Powell -
Mariano Martinez Peck