Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ptp-dev] PATH problems

Do you just ignore lines that start with "/etc/profile:"?

Greg

On Feb 14, 2012, at 10:04 AM, Jeffrey Overbey wrote:

>> replacing the current invocation "/bin/sh -c …command…"
>> with "bash --login -c …command…"?
> 
> I think I've seen a couple places in PTP that already assume Bash is
> installed (IRemoteScript maybe?).  And anything that takes advantages
> of Modules/SoftEnv support will have to run in a Bash --login shell
> anyway, so this would actually make things more consistent as far as
> I'm concerned.
> 
> FWIW, on forge.ncsa.illinois.edu, /etc/profile is producing
> "/etc/profile: line 88: ulimit: max locked memory: cannot modify
> limit: Operation not permitted" every time a login shell is started.
> So, my Modules/SoftEnv stuff makes an effort to ignore spurious output
> lines, partly in case something like this happens.  I'm not sure if
> other parts of PTP will need to do the same...
> 
> Jeff
> _______________________________________________
> ptp-dev mailing list
> ptp-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/ptp-dev



Back to the top