[haiku-bugs] Re: [Haiku] #10106: #!executable doesn't work as expected.

  • From: "augiedoggie" <trac@xxxxxxxxxxxx>
  • Date: Tue, 15 Oct 2013 16:25:27 -0000

#10106: #!executable doesn't work as expected.
-------------------------------------+----------------------------
   Reporter:  bbjimmy                |      Owner:  bonefish
       Type:  bug                    |     Status:  closed
   Priority:  normal                 |  Milestone:  R1
  Component:  System/runtime_loader  |    Version:  R1/Development
 Resolution:  invalid                |   Keywords:
 Blocked By:                         |   Blocking:
Has a Patch:  0                      |   Platform:  All
-------------------------------------+----------------------------

Comment (by augiedoggie):

 Replying to [comment:6 bbjimmy]:
 > Then why does the script run from the command line?

 It actually doesn't run properly from the command line unless you're in
 the directory with the script in it.  The problem seems to be that yab
 can't handle directory names with spaces in it.  If you rename the default
 directory or move the script somewhere else then it works.  You can see
 the error when trying to run the script with the full path....


 {{{
 cpr@sluggo:~# ~/Desktop/Version\ 0.1.2/Programs/Examples/Calc.yab
 ---Error: could not open '/boot/home/Desktop/Version': No such file or
 directory
 }}}

--
Ticket URL: <http://dev.haiku-os.org/ticket/10106#comment:7>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: