[plt-scheme] process.ss can't find command

From: Robby Findler (robby at cs.uchicago.edu)
Date: Wed Mar 12 16:16:21 EDT 2008

The prompt appears because system somehow touches stdin. I'm not sure  
what is going on the tho.

Robby

On Mar 12, 2008, at 2:59 PM, "Stephen De Gabrielle" <stephen at degabrielle.name 
 > wrote:

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

Posted on the users mailing list.