<html><body bgcolor="#FFFFFF"><div>The prompt appears because system somehow touches stdin. I'm not sure what is going on the tho. </div><div><br class="webkit-block-placeholder"></div><div>Robby<br><br>On Mar 12, 2008, at 2:59 PM, "Stephen De Gabrielle" <<a href="mailto:stephen@degabrielle.name">stephen@degabrielle.name</a>> wrote:<br><br></div><div></div><blockquote type="cite"><div>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"><a href="mailto:eli@barzilay.org">eli@barzilay.org</a></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/"><a href="http://www.barzilay.org/">http://www.barzilay.org/</a></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"><a href="mailto:s.degabrielle@ucl.ac.uk">s.degabrielle@ucl.ac.uk</a></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"><a href="http://www.uclic.ucl.ac.uk/annb/MaSI.html">http://www.uclic.ucl.ac.uk/annb/MaSI.html</a></a><br><br>UCLIC: University College London Interaction Centre<br><a href="http://www.uclic.ucl.ac.uk/"><a href="http://www.uclic.ucl.ac.uk/">http://www.uclic.ucl.ac.uk/</a></a><br>
<br>Remax House - 31/32 Alfred Place<br>London - WC1E 7DP<br>
</div></blockquote><blockquote type="cite"><div><span>_________________________________________________</span><br><span> For list-related administrative tasks:</span><br><span> <a href="http://list.cs.brown.edu/mailman/listinfo/plt-scheme"><a href="http://list.cs.brown.edu/mailman/listinfo/plt-scheme">http://list.cs.brown.edu/mailman/listinfo/plt-scheme</a></a></span><br></div></blockquote></body></html>