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

2004-01-12 Thread Gerard Cote
Hi Volker and Gabriele, for your help. I'll try to experiment with that too in my own context ! Regards, Gerard > VN> How about [ call/output "rebol --cgi script.r" ] ? should write to output? > > Hmm, -c does not work in a MS-DOS window, but does with > CALL/OUTPUT. That's good to

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

2004-01-12 Thread Gerard Cote
Hi Gabriele, Gabriele wrote: == > GC> 2. The Call/output doesn't seem to create and fill the > GC> expected file with the results outputted when used - an empty > GC> file is created > GC> and nothing else. > > CALL/OUTPUT actually works correctly on Windows. You can also > redirect

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

2004-01-12 Thread Gerard Cote
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 "" > arou

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

2004-01-12 Thread Gerard Cote
January 12, 2004 4:11 AM Subject: [REBOL] Re: SHELL cmd exec using CALL in View 1.3 > > Gerard Cote wrote: > > >Oups! I forgot to join the entire file as a reference to those interested. > >Here it is. > > > >Regards, > >Gerard > > > >P.S. I als

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

2004-01-12 Thread Gabriele Santilli
Hi Volker, On Monday, January 12, 2004, 4:27:37 PM, you wrote: VN> How about [ call/output "rebol --cgi script.r" ] ? should write to output? Hmm, -c does not work in a MS-DOS window, but does with CALL/OUTPUT. That's good to know. :-) >> call/output {rebol.exe -c --do "print 'hello

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

2004-01-12 Thread Volker Nitsch
Am Montag 12 Januar 2004 11:52 schrieb Gabriele Santilli: > Hi Gerard, > > REBOL does not send output to STDOUT on Windows, so CALL/OUTPUT on > REBOL itself isn't useful. > How about [ call/output "rebol --cgi script.r" ] ? should write to output? > > Regards, >Gabriele. -Volker -- To un

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

2004-01-12 Thread Gabriele Santilli
Hi Gerard, On Sunday, January 11, 2004, 10:48:35 PM, you wrote: GC> 2. The Call/output doesn't seem to create and fill the GC> expected file with the results outputted when used - an empty GC> file is created GC> and nothing else. CALL/OUTPUT actually works correctly on Windows. You can al

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

2004-01-12 Thread Volker Nitsch
Am Sonntag 11 Januar 2004 22:48 schrieb Gerard Cote: > Hi list, > 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 th

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

2004-01-12 Thread Petr Krenzelok
Gerard Cote wrote: >Oups! I forgot to join the entire file as a reference to those interested. >Here it is. > >Regards, >Gerard > >P.S. I also looked back to the REBOL Command SHELL interface (Official Docs) and it >seems that one way to let REBOL do leave an >executed console window opened wou

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

2004-01-11 Thread Gerard Cote
Oups! I forgot to join the entire file as a reference to those interested. Here it is. Regards, Gerard P.S. I also looked back to the REBOL Command SHELL interface (Official Docs) and it seems that one way to let REBOL do leave an executed console window opened would necessitate a new switch to