Hi Esteban,

yes, like this:

 OSProcess thisOSProcess
command:
 ('{1}mongodump  --out {2}'
format:
{
 RKAConfiguration databaseUtilsPath.
(RKAConfiguration databaseBackupPath )}).

Cheers
Sabine


On Tue, Dec 3, 2013 at 4:28 PM, EstebanLM [via Smalltalk] <
ml-node+s1294792n4727066...@n4.nabble.com> wrote:

> ah :)
>
> then you need OSProcess.
>
> and I do not remember exactly how it was, but something like this:
>
> OSProcess command:  'mycommand with parameters'.
>
> cheers,
> Esteban
>
>
> On Tue, Dec 3, 2013 at 3:29 PM, Yuriy Tymchuk <[hidden 
> email]<http://user/SendEmail.jtp?type=node&node=4727066&i=0>
> > wrote:
>
>>
>> On 03 Dec 2013, at 15:26, Sabine Knöfel <[hidden 
>> email]<http://user/SendEmail.jtp?type=node&node=4727066&i=1>>
>> wrote:
>>
>> Hi,
>>
>> the mailinglist is so helpful! Its really great!
>>
>>
>> But it’s not well indexable and does not provide quality information
>> about data. That’s why I encourage people to use Stack Overflow
>>
>>
>> CommandShell is my solution.
>>
>> Thanks!
>> Sabine
>>
>>
>>
>>
>> On Tue, Dec 3, 2013 at 3:00 PM, Sergi Reyner [via Smalltalk] <[hidden
>> email]> wrote:
>>
>>> 2013/12/3 Sabine Knöfel <[hidden 
>>> email]<http://user/SendEmail.jtp?type=node&node=4727033&i=0>
>>> >
>>>
>>> Hi,
>>>>
>>>> how can I perform a commandline command from within Pharo?
>>>>
>>>
>>> Check OSProcess and CommandShell.
>>>
>>> Cheers,
>>> Sergi
>>>
>>>
>>>
>>> ------------------------------
>>>  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-tp4727022p4727033.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<http://forum.world.st/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>>
>>
>>
>> ------------------------------
>> View this message in context: Re: command line command from pharo 
>> image<http://forum.world.st/command-line-command-from-pharo-image-tp4727022p4727049.html>
>> Sent from the Pharo Smalltalk Users mailing list 
>> archive<http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html>at
>> Nabble.com.
>>
>>
>>
>
>
> ------------------------------
>  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-tp4727022p4727066.html
>  To start a new topic under Pharo Smalltalk Users, email
> ml-node+s1294792n1310670...@n4.nabble.com
> To unsubscribe from command line command from pharo image, click 
> here<http://forum.world.st/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4727022&code=c2FiaW5lLmtub2VmZWxAZ21haWwuY29tfDQ3MjcwMjJ8MTA0OTM5MTYx>
> .
> NAML<http://forum.world.st/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>




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

Reply via email to