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

CALL and shell console

 [1/4] from: gchillemi:aliceposta:it at: 11-Dec-2007 13:03


Hello, I want to use call to move files using the window system command move but it always open for an istant a console windows eve with I/O redirected to the consile (call/console). Is there a way to avoid this ? Giuseppe Chillemi

 [2/4] from: wang:rebol:it at: 11-Dec-2007 13:11


Hallo Giuseppe,
> I want to use call to move files using the window system command move but > it always open for an istant a console windows eve with I/O redirected to > the consile (call/console). Is there a way to avoid this ? >
ostr: make string! 2048 call/output {move file1 file2} ostr should do that. To be sure use rebol with -q and/or -w (not sure if you need both, Linux here). Zaijian, Mario

 [3/4] from: petr:krenzelok:seznam:cz at: 11-Dec-2007 14:49


Giuseppe Chillemi napsal(a):
> Hello, > I want to use call to move files using the window system command move but > it always open for an istant a console windows eve with I/O redirected to > the consile (call/console). Is there a way to avoid this ? >
It is how it is. The culprit is the Win32 function used to call the shell. Someone mentioned all is needed to fix it is to use another function call, or to set some other parameter, can't remember now. I put that into R2.7.6. request list, so we will see ... Petr

 [4/4] from: gchillemi:aliceposta:it at: 11-Dec-2007 16:41


> > I want to use call to move files using the window system command > > move but it always open for an istant a console windows eve
<<quoted lines omitted: 7>>
> can't remember now. I put that into R2.7.6. request list, so > we will see ...
It is really annoying to see this "flash" window for 1/2 of second each of the 100 files you move. I have opted to create an script and start it once. If you point me to the whish list I'll give my vote for your proposal. Giuseppe Chillemi

Notes
  • Quoted lines have been omitted from some messages.
    View the message alone to see the lines that have been omitted