Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] Re: SHELL cmd exec using CALL in View 1.3

From: gerardcote:sympatico:ca at: 12-Jan-2004 12:18

Hi Volker, ----- Original Message ----- Volker Wrote:
> > call/output "E:\Installation de logiciel\REBOL\View 1.3 - Betas > > testing\rebview1224031.exe -s xcode.r" %results.txt print read %results.txt > > first look: can you check for whitespace-handling? i would expect you need "" > around the exe-path, like > call {"wsp path\rebol.exe" args} > in your example i expect "E:\Installation" is called with the rest as > argument. >
I will look at but seems the exec worked fine and the results correctly displayed on the console. Seems the output has something to do with the mystery - and a few seconds ago I received the reason from Gabriele. See its answer by yourself. Clearly it is erroneous for me to think that CALLING a copy of REBOL ensures the output of the running script is also redirected since REBOL normally doesn't send its output to STDOUT. This is a misconception I had about the way I planned my solution as it is often the case. I simply skipped the fact that this is the second copy of REBOL that must be redirected and not only the first one... Thank you, Gerard P.S. I will nevertheless try your suggestions just to see the effects I can get from them even if I don't hope to receive the results in a file as planned working in this direction.