[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] windows shell problem
From: |
Thomas Chust |
Subject: |
Re: [Chicken-users] windows shell problem |
Date: |
Mon, 05 Jan 2009 11:05:56 +0100 |
User-agent: |
Mozilla/5.0 (X11; U; Linux ppc; en-US; rv:1.8.1.19) Gecko/20081227 SeaMonkey/1.1.14 |
felix winkelmann wrote:
> [...]
> 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 ""
>
> (sic) can not be found.
> [...]
Hello,
to me this sounds like system(3) is doing some quoting or string
manipulation of its own, which doesn't work. Have you tried passing the
command to a lower level Win32 API function like one from the family
CreateProcess, CreateProcessAsUser, CreateProcessWithLogonW,
CreateProcessWithTokenW? It may also help to set breakpoints on these
functions to see what kind of garbage is actually fed into the kernel by
system(3) ;-)
cu,
Thomas
- [Chicken-users] windows shell problem, felix winkelmann, 2009/01/04
- 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 <=
- 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, 2009/01/05
- 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