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

[REBOL] How to launch a new script with passing arguments?

From: D::Weyand::gmx::de at: 4-Dec-2006 7:12

Hello list, I would like to start a REBOL scripts as a separate process from inside a running REBOL script with passing arguments to the new script. Normally I would use the launch function to start another script as a separate process. But the launch command doesn´t support any /ARGS refinement. How can I do it in a REBOLish KISS-way? ATM, I am using the following "ugly" workaround: write %tmpfile reform ["REBOL []" newline "do/args %script.r script-args" newline] launch %tmpfile delete %tmpfile Do you know any simplier solution? Regards Dirk -- Ein Herz für Kinder - Ihre Spende hilft! Aktion: www.deutschlandsegelt.de Unser Dankeschön: Ihr Name auf dem Segel der 1. deutschen America's Cup-Yacht!