[gambit-list] shell-command question (v4.7.3)
Marc Feeley
feeley at iro.umontreal.ca
Wed Jan 14 20:13:12 EST 2015
I’ll look into this, but in the meantime, try
(##shell-command-blocking "echo hello > newfile1")
This is the original implementation of shell-command, which has the unfortunate side-effect of blocking the program while the shell command is executing. But maybe this is ok for your application.
Marc
> On Jan 14, 2015, at 6:52 PM, Ryuho Yokoyama <ryuho8 at ybb.ne.jp> wrote:
>
> Hello,
>
> I am a very satisfied Gambit user. (prebuilt/gambc-v4_6_0-windows-mingw.exe)
> Now I wont to use latest version. (prebuilt/gambc-v4_7_3-windows-mingw32.exe)
> (prebuilt/gambc-v4_7_3-windows-mingw64.exe)
>
> But I can not use latest version of shell-command as below.
> -----
> C:\Gambit-C_32bit\v4.6.0\bin>gsi
> Gambit v4.6.0
>
> > (shell-command "echo hello > newfile1")
> 0
> >
> ---
> C:\Gambit-C_32bit\v4.7.3\bin>gsi
> Gambit v4.7.3
>
> > (shell-command "echo helo > newfile1")
> '"echo helo > newfile1' is not recognized as an internal or external command,
> operable program or batch file.
> 256
> >
> ---
> C:\Gambit-C_64bit\v4.7.3\bin>gsi
> Gambit v4.7.3
>
> > (shell-command "echo helo > newfile1")
> '"echo helo > newfile1' is not recognized as an internal or external command,
> operable program or batch file.
> 256
> >
> -----
>
> Is there any way to solve this?
>
> Thanks in advance.
>
> _______________________________________________
> Gambit-list mailing list
> Gambit-list at iro.umontreal.ca
> https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4839 bytes
Desc: not available
URL: <http://mailman.iro.umontreal.ca/pipermail/gambit-list/attachments/20150114/df50adcd/attachment.bin>
More information about the Gambit-list
mailing list