[erlang-questions] slave node working directory

Lukas Larsson garazdawi@REDACTED
Tue Oct 30 10:19:35 CET 2012


Maybe passing: "-eval \"file:set_cwd(\"/tmp\")\"" as an Arg will do the trick?

On Tue, Oct 30, 2012 at 10:15 AM, Zhemzhitsky Sergey
<sergey_zhemzhitsky@REDACTED> wrote:
> Hi Alex,
>
> Thanks a lot. Unfortunately rpc:call does not work in my case as I have to start my slaves with a relative code search path specified with -pa option.
>
> Regards,
> Sergey
>
> -----Original Message-----
> From: Alex Shneyderman [mailto:a.shneyderman@REDACTED]
> Sent: Tuesday, October 30, 2012 12:22 PM
> To: Zhemzhitsky Sergey
> Subject: Re: [erlang-questions] slave node working directory
>
> rpc:call(slave_node,file,set_cwd,["/tmp"]).
>
> On Tue, Oct 30, 2012 at 9:16 AM, Zhemzhitsky Sergey <sergey_zhemzhitsky@REDACTED> wrote:
>> Hello erlangers,
>>
>>
>>
>> Is it possible to specify a working directory for the slave node
>> started with slave:start/3 ? Currently it seems to be a user home
>> directory, but a I’d like to specify a different one.
>>
>>
>>
>>
>>
>> Best Regards,
>>
>> Sergey
>>
>>
>>
>> _______________________________________________________
>>
>> CONFIDENTIALITY NOTICE: This email and any files attached to it may be
>> confidential. If you are not the intended recipient you are notified
>> that using, copying, distributing or taking any action in reliance on
>> the contents of this information is strictly prohibited. If you have
>> received this email in error please notify the sender and delete this email.
>>
>>
>>
>>
>> _______________________________________________
>> erlang-questions mailing list
>> erlang-questions@REDACTED
>> http://erlang.org/mailman/listinfo/erlang-questions
>>
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions



More information about the erlang-questions mailing list