OSProcess - return value from command.

Gary Chambers gazzaguru2 at btinternet.com
Wed Oct 24 17:26:51 UTC 2007


You need to use a PipeableOSProcess... should have come to me first, half
the cost... :-)

> -----Original Message-----
> From: squeak-dev-bounces at lists.squeakfoundation.org
> [mailto:squeak-dev-bounces at lists.squeakfoundation.org]On Behalf Of John
> Thornborrow
> Sent: 24 October 2007 5:37 PM
> To: squeak-dev at lists.squeakfoundation.org
> Subject: OSProcess - return value from command.
>
>
> Hello All,
>
> I've been trying to use OSProcess to execute commands; which works -
> however I need to be able to retrieve the value returned to the terminal
>  by the command.
>
> To be precise, I am executing:
>
> OSProcess command: 'svn list svn://server/repo'
>
> and would like to retrive the string that is returned to the terminal.
>
> Could anyone advise on how to achieve this?
>
> Many thanks,
>
> John
> www.pinesoft.co.uk
>
>
> Pinesoft Computers are registered in England, Registered number:
> 2914825. Registered office: 266-268 High Street, Waltham Cross,
> Herts, EN8 7EA
>
>
>
> This message has been scanned for viruses by BlackSpider
> MailControl - www.blackspider.com
>
>




More information about the Squeak-dev mailing list