[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] windows shell problem
From: |
John Cowan |
Subject: |
Re: [Chicken-users] windows shell problem |
Date: |
Mon, 5 Jan 2009 12:58:20 -0500 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
felix winkelmann scripsit:
> The handling of backslashes as escaping characters is not the problem,
> it seems. If I pass this string (verbatim, just like it is printed here) to
> system(3):
>
> "c:\home\chicken-trunk\bin\csi" -bnq -e "(require-library setup-api)"
> -e "(import setup-api)" "c:\...some...path...\defstruct.setup"
>
> I get an error message that tells me that the program
>
> "c:\home\chicken-trunk\bin\csi" -bnq -e ""
That suggests to me is that what's happening is that system(foo) is
spawning the shell (from $SHELL or $COMSPEC) with "/c \" + foo + "\"".
If foo already has quotation marks in it, you're hosed.
--
John Cowan http://www.ccil.org/~cowan <address@hidden>
You tollerday donsk? N. You tolkatiff scowegian? Nn.
You spigotty anglease? Nnn. You phonio saxo? Nnnn.
Clear all so! `Tis a Jute.... (Finnegans Wake 16.5)
- Re: [Chicken-users] windows shell problem, (continued)
- Re: [Chicken-users] windows shell problem, Ivan Raikov, 2009/01/04
- Re: [Chicken-users] windows shell problem, Thomas Chust, 2009/01/04
- Re: [Chicken-users] windows shell problem, Lars Nilsson, 2009/01/04
- Re: [Chicken-users] windows shell problem, felix winkelmann, 2009/01/05
- Re: [Chicken-users] windows shell problem, felix winkelmann, 2009/01/05
- Re: [Chicken-users] windows shell problem, Thomas Chust, 2009/01/05
- Re: [Chicken-users] windows shell problem, Lars Nilsson, 2009/01/05
- Re: [Chicken-users] windows shell problem, felix winkelmann, 2009/01/05
- Re: [Chicken-users] windows shell problem, Tobia Conforto, 2009/01/05
- Re: [Chicken-users] windows shell problem, felix winkelmann, 2009/01/06
- Re: [Chicken-users] windows shell problem,
John Cowan <=
- Re: [Chicken-users] windows shell problem, felix winkelmann, 2009/01/06
- Re: [Chicken-users] windows shell problem, Matthew Flatt, 2009/01/06
- Re: [Chicken-users] windows shell problem, felix winkelmann, 2009/01/06
- Re: [Chicken-users] windows shell problem, felix winkelmann, 2009/01/07
- Re: [Chicken-users] windows shell problem, Ivan Raikov, 2009/01/05