Cool, thank you. 

Jura

El 05-08-2013, a las 12:46, "David T. Lewis" <le...@mail.msen.com> escribió:

> On Mon, Aug 05, 2013 at 08:42:12AM -0400, Juraj Kubelka wrote:
>> Hi!
>> 
>> On execution of 
>> 
>> (PipeableOSProcess command: 'pwd') output
>> 
>> , it always says root directory ("/"). Is it possible to execute command 
>> from specific directory? Or the only correct solution is like this?:
>> 
>> (PipeableOSProcess command: 'cd /Users/jura/ ; pwd') output
>> 
>> Thanks a lot.
>> Cheers,
>> Jura
> 
> By default, PipeableOSProcess class>command: uses whatever current working
> directory is being used by the VM (which may vary depending on how your
> VM and image are being run). You can specify a different working directory
> like this:
> 
>  (PipeableOSProcess command: 'pwd'
>        environment: nil
>        workingDir: '/usr/bin'
>        input: nil
>        output: nil
>        error: nil
>        errorPipelineStream: nil) output
> 
> HTH,
> Dave
> 
> 

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to