On Tue, Jan 6, 2009 at 1:09 PM, Matthew Flatt <[email protected]> wrote:
>
> If you put an extra set of quotation marks around the argument, won't
> they effectively cancel the quotation marks added by system()?
>
> That is, pass
>
>  ""c:\home\chicken-trunk\bin\csi" -bnq -e "(require-library setup-api)"
>  -e "(import setup-api)" "c:\...some...path...\defstruct.setup""
>
> to system(), which will then send on
>
>  """c:\home\chicken-trunk\bin\csi" -bnq -e "(require-library setup-api)"
>  -e "(import setup-api)" "c:\...some...path...\defstruct.setup"""
>
> to the shell, which will then parse out
>
>  """c:\home\chicken-trunk\bin\csi"  =   c:\home\chicken-trunk\bin\csi
>

I don't understand why this works, but when it could, I'll try it.


cheers,
felix


_______________________________________________
Chicken-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to