Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
slave node working directory
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  5 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Zhemzhitsky Sergey  
View profile  
 More options Oct 30 2012, 4:16 am
From: Zhemzhitsky Sergey <sergey_zhemzhit...@sberbank-cib.ru>
Date: Tue, 30 Oct 2012 08:16:08 +0000
Local: Tues, Oct 30 2012 4:16 am
Subject: [erlang-questions] slave node working directory

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-questi...@erlang.org
http://erlang.org/mailman/listinfo/erlang-questions


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Zhemzhitsky Sergey  
View profile  
 More options Oct 30 2012, 5:16 am
From: Zhemzhitsky Sergey <sergey_zhemzhit...@sberbank-cib.ru>
Date: Tue, 30 Oct 2012 09:15:52 +0000
Local: Tues, Oct 30 2012 5:15 am
Subject: Re: [erlang-questions] slave node working directory
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


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Lukas Larsson  
View profile  
 More options Oct 30 2012, 5:19 am
From: Lukas Larsson <garazd...@gmail.com>
Date: Tue, 30 Oct 2012 10:19:35 +0100
Local: Tues, Oct 30 2012 5:19 am
Subject: Re: [erlang-questions] slave node working directory
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

_______________________________________________
erlang-questions mailing list
erlang-questi...@erlang.org
http://erlang.org/mailman/listinfo/erlang-questions

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Peter Lemenkov  
View profile  
 More options Oct 30 2012, 5:27 am
From: Peter Lemenkov <lemen...@gmail.com>
Date: Tue, 30 Oct 2012 12:27:21 +0300
Local: Tues, Oct 30 2012 5:27 am
Subject: Re: [erlang-questions] slave node working directory
2012/10/30 Zhemzhitsky Sergey <sergey_zhemzhit...@sberbank-cib.ru>:

> 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.

I think this requirement should be satisfied outside the Erlang VM
itself. Setting up the environment parameters should be done by your
service management system.

For example systemd allows this (setting up working directory) as well
as setting many other necessary parameters right out of the box:

* https://github.com/lemenkov/erlpmd/blob/master/priv/erlpmd.service

--
With best regards, Peter Lemenkov.
_______________________________________________
erlang-questions mailing list
erlang-questi...@erlang.org
http://erlang.org/mailman/listinfo/erlang-questions


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Zhemzhitsky Sergey  
View profile  
 More options Oct 30 2012, 7:05 am
From: Zhemzhitsky Sergey <sergey_zhemzhit...@sberbank-cib.ru>
Date: Tue, 30 Oct 2012 11:04:53 +0000
Local: Tues, Oct 30 2012 7:04 am
Subject: Re: [erlang-questions] slave node working directory
Thanks,
Resolved it with an appropriate configuration of environment and paths.

Regards,
Sergey


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »