Access environment

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Access environment

kurs.jan
Hi,

To access environment, I found this command in the mailing list:

OSProcess thisOSProcess environment

But the OSProcess is not by default in the Pharo. Is there some reason for this? Is there some better way to access environment?

Do I need to add this dependency to my project?

  Gofer new
squeaksource: 'OSProcess';
package: 'OSProcess';
load.

Regards,
Jan
Reply | Threaded
Open this post in threaded view
|

Re: Access environment

Sven Van Caekenberghe-2
Hi Jan,

Did you see

  OSPlatform current environment

?

Sven

> On 11 Mar 2016, at 09:35, Jan Kurš <[hidden email]> wrote:
>
> Hi,
>
> To access environment, I found this command in the mailing list:
>
> OSProcess thisOSProcess environment
>
> But the OSProcess is not by default in the Pharo. Is there some reason for this? Is there some better way to access environment?
>
> Do I need to add this dependency to my project?
>
>   Gofer new
> squeaksource: 'OSProcess';
> package: 'OSProcess';
> load.
>
> Regards,
> Jan
>


Reply | Threaded
Open this post in threaded view
|

Re: Access environment

kurs.jan
Hi Sven,

I did not see that, but it works!

Thank you!

On Fri, Mar 11, 2016 at 10:06 AM Sven Van Caekenberghe <[hidden email]> wrote:
Hi Jan,

Did you see

  OSPlatform current environment

?

Sven

> On 11 Mar 2016, at 09:35, Jan Kurš <[hidden email]> wrote:
>
> Hi,
>
> To access environment, I found this command in the mailing list:
>
> OSProcess thisOSProcess environment
>
> But the OSProcess is not by default in the Pharo. Is there some reason for this? Is there some better way to access environment?
>
> Do I need to add this dependency to my project?
>
>   Gofer new
>       squeaksource: 'OSProcess';
>       package: 'OSProcess';
>       load.
>
> Regards,
> Jan
>