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.
Afficher les réponses par date
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@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@iro.umontreal.ca https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list
Thank you for the quick response. --- C:\Gambit-C_64bit\v4.7.3\bin>gsi Gambit v4.7.3
(##shell-command-blocking "echo hello > newfile1")
0
--- Yes, I get right answer. I am please to use latest 64 bit version of Gambit from now. Many thanks.
-----Original Message----- From: Marc Feeley Sent: Thursday, January 15, 2015 10:13 AM To: Ryuho Yokoyama Cc: gambit-list@iro.umontreal.ca Subject: Re: [gambit-list] shell-command question (v4.7.3)
I窶冤l 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@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@iro.umontreal.ca https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list