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

[REBOL] What can be reason of "Cannot execute command" message?

From: petr::krenzelok::trz::cz at: 14-Jun-2001 15:19

Hi, I am just getting following message: ** User Error: Cannot execute command ** Near: call/shell join {F:\vymena\antivir\f-prot\f-prot.exe /NOMEM /HARD /NOFLOPPY /DISINF /NOBREAK /REPORT=} join "F:\vymen a\spy!\spust-antivir\logs\" ... for the following line in my script ... (where compose-name func returns e.g. "krenze_p.log" string call/shell join "F:\vymena\antivir\f-prot\f-prot.exe /NOMEM /HARD /NOFLOPPY /DISINF /NOBREAK /REPORT=" join F:\vymena\spy!\spust-antivir\logs\ compose-name user/prijmeni user/jmeno Once I insert above line into interpreter, it starts my app as desired. - call/wait crashes rebol sometimes - call with no refinemetns used doesn't launch externall app from time to time - very strange - just black window appears for the very short (almost unnoticable) period and nothing happens. First I thought the reason could be that I am starting externall app from slower network drive ("F"), and I immediatelly quitted Rebol, so I thought I could wait for some 10 sec e.g. before I quit Rebol script, but it doesn't help either ... Once I press my button for the second time, I can finally see externall app launching. But first button press results only in black window flash and nothing happens ... Anyone observing any strange behavior when using 'call? Thanks a lot, -pekr-