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

call problems

 [1/8] from: maarten:vrijheid at: 15-Oct-2003 17:11


Hi, I have noticed various times that call on WinXP crashes REBOL (encapped or not) randomly. Has anybody else that experience? If so, is there a better/other way to interface via the shell using the library interface on Windows? --Maarten

 [2/8] from: g:santilli:tiscalinet:it at: 15-Oct-2003 17:41


Hi Maarten, On Wednesday, October 15, 2003, 5:11:31 PM, you wrote: MK> I have noticed various times that call on WinXP crashes REBOL (encapped MK> or not) randomly. Has anybody else that experience? I have (long ago, I should say...) reported a bug in CALL, that it crashes if you are using /WAIT (or any other refinement implying /WAIT, such as /OUTPUT etc.) and the console window is not open. I don't use CALL much, but it never crashed to me with the console open; it always crashes if the console is not open. I didn't test it with the latest SDK. MK> If so, is there a better/other way to interface via the shell using the MK> library interface on Windows? If you don't need to redirect output, yes, but then, CALL does not crash either. Regards, Gabriele. -- Gabriele Santilli <[g--santilli--tiscalinet--it]> -- REBOL Programmer Amiga Group Italia sez. L'Aquila --- SOON: http://www.rebol.it/

 [3/8] from: maximo:meteorstudios at: 15-Oct-2003 11:49


I have not noticed that behavior when testing my ddr xfer app on WinXP. using released version of rebol/view/pro. -MAx --- You can either be part of the problem or part of the solution, but in the end, being part of the problem is much more fun.

 [4/8] from: maarten:vrijheid at: 15-Oct-2003 19:41


Hi Gabriele, This is what my feeling is too: once I use /error to redirect output (implicitly using wait) it crashes sometimes. So no my question is: who of the windows heroes can help me implement a call++ using the library interface. --Maarten

 [5/8] from: greggirwin:mindspring at: 15-Oct-2003 17:01


Hi Maarten, MK> This is what my feeling is too: once I use /error to redirect output MK> (implicitly using wait) it crashes sometimes. MK> So no my question is: who of the windows heroes can help me implement a MK> call++ using the library interface. Are you looking for something as simple as a call to ShellExecute, with which you could invoke cmd, or do you need something more elaborate--like a CreateProcess approach--that lets you specify redirection parameters and such? -- Gregg

 [6/8] from: maarten:vrijheid at: 16-Oct-2003 7:58


Hi Gregg, The more elaborate approach. I have a built an installer for Stunnel and openssl with REBOL that unpacks all the binaries, asks for your certificate and converts it to a different format. To see if that works I need the iutput of openssl, but 'call crashes then (sometimes). Another option may be to use call/shell {openssl.exe ... > out.txt} and do a wait :3 , but that's rather ugly. BTW: now that people see a small, scriptable cross-plarform installer than Java I got people thinking. --Maarten

 [7/8] from: greggirwin:mindspring at: 16-Oct-2003 17:16


Hi Maarten, MK> The more elaborate approach. I have a built an installer for Stunnel and MK> openssl with REBOL that unpacks all the binaries, asks for your MK> certificate and converts it to a different format. MK> To see if that works I need the iutput of openssl, but 'call crashes MK> then (sometimes). Another option may be to use call/shell {openssl.exe ... >> out.txt} and do a wait :3 , but that's rather ugly. I don't have one of those handy, unfortunately. :\ I'd have to look into how the redirection handles work a bit. Let me know if it's important. -- Gregg

 [8/8] from: maarten:vrijheid at: 17-Oct-2003 7:44


Hi Gregg, Using 2> as redirection to a file and waiting a second works for me as well. Shouldn't be a bug though :( --Maarten