Bob Warren wrote:
I now have an explanation as to why the shell in (Ubuntu) Linux seems to work sometimes, but not others: the HD path to the executable for launching MUST NOT CONTAIN BLANKS!

For example, this works like a charm:

  global myVar
  put "/home/bob/Desktop/folderwithnospaces/myprog" into myVar
  set the defaultFolder to "/home/bob/Desktop/folderwithnospaces"
  get shell(myVar)

This doesn't work at all:

  global myVar
  put "/home/bob/Desktop/folder with spaces/yourprog" into myVar
  set the defaultFolder to "/home/bob/Desktop/folder with spaces"
  get shell(myVar)

Exactly the same thing applies to the LAUNCH command.

Now what do I do?
Any ideas anyone?

Bob

_______________________________________________
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution
Hi Bob,

This is a guess as I've not got Rev on Linux, but I do use Unix/GNU Linux in general. When specifying spaces on the command line, they need to be escaped.

For example: ls folder with spaces/
becomes: ls folder\ with\ spaces/

So the same might be true for Rev: put "/home/bob/Desktop/folder\ with\ spaces/yourprog" into myVar

Hope this helps
--
Dave Cope,
IT - Biodiversity Information Service for Powys
and Brecon Beacons National Park.

Email: [EMAIL PROTECTED]

Tele: 01874-610881
Fax:  01874-624812

Web: http://www.b-i-s.org

_______________________________________________
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to