Thanks, <br><br>I don't need the path, so I modified your suggestion; <br><br>(system "/bin/sh -c \". /etc/profile;. ~/.profile ;svn commit -m \"auto-commit\"\"")<br><br>Works nicely. (I'm this will work on my linux machine)<br>
<br>Weirdly a 'read'-syle[eof] prompt appears then disappears - without need for input.<br><br>Thanks, <br><br>Stephen<br><br><br>On Wed, Mar 12, 2008 at 3:55 PM, Eli Barzilay <<a href="mailto:eli@barzilay.org">eli@barzilay.org</a>> wrote:<br>
> On Mar 12, Stephen De Gabrielle wrote:<br>> > Thanks for the tip,<br>> ><br>> > I've only taken a brief look, but it seems a solution is to run the<br>> > config files ~/.profile /etc/profile in my system call. probably by<br>
> > constructing a string or file to pass to or execute by 'system'<br>> <br>> You can run "/bin/sh -c \". /etc/profile;/bin/env\"" and parse the<br>> results, then use `putenv' to change the mzscheme process's<br>
> environment accordingly.<br>> <br>> <br>> <br>> > They should do no harm, modify path as needed, and work on linux's<br>> > and osx transparently (I haven't thought about windows yet)<br>
> <br>> There is no need to do that on linux. (And windows is the usual mess.)<br>> <br>> <br>> <br>> --<br>> ((lambda (x) (x x)) (lambda (x) (x x))) Eli Barzilay:<br>> <a href="http://www.barzilay.org/">http://www.barzilay.org/</a> Maze is Life!<br>
> <br><br><br><br>-- <br>Cheers,<br><br>Stephen<br><br>--<br>Stephen De Gabrielle<br><a href="mailto:s.degabrielle@ucl.ac.uk">s.degabrielle@ucl.ac.uk</a><br>Telephone +44 (0)20 7679 5242 (x45242)<br>Mobile 079 851 890 45<br>
Project: Making Sense of Information (MaSI)<br><a href="http://www.uclic.ucl.ac.uk/annb/MaSI.html">http://www.uclic.ucl.ac.uk/annb/MaSI.html</a><br><br>UCLIC: University College London Interaction Centre<br><a href="http://www.uclic.ucl.ac.uk/">http://www.uclic.ucl.ac.uk/</a><br>
<br>Remax House - 31/32 Alfred Place<br>London - WC1E 7DP<br>