You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to babush...@googlegroups.com
I have a dep that updates /etc/profile and adds something to the PATH.
Somehow I need to source /etc/profile to verify it made it into the PATH (with in_path?).
But I am not really sure how to do this as this cannot be done through a sub shell. Any thoughts?
cheers,
Torsten
Ben Hoskings
unread,
Aug 6, 2012, 11:35:05 AM8/6/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to babush...@googlegroups.com
This might be possible with #login_shell, or some variation on it. The mechanics around starting new sessions are really tricky, though.
(On OS X, you can use `login -f` to start a new session with an arbitrary command, much like `zsh -c ls` or similar. That lets you easily check the state of things under a fresh session, like shell configuration, etc. Unfortunately, the default `login` on a Linux box doesn't support arbitrary commands via '-f'.)