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 mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to