[haiku-bugs] [Haiku] #11893: When a shell script is the handling application for a mimetype, registrar does not propagate arguments to it

  • From: "waddlesplash" <trac@xxxxxxxxxxxx>
  • Date: Tue, 03 Mar 2015 16:16:17 -0000

#11893: When a shell script is the handling application for a mimetype, 
registrar
does not propagate arguments to it
-------------------------------+------------------------------
 Reporter:  waddlesplash       |        Owner:  bonefish
     Type:  bug                |       Status:  new
 Priority:  normal             |    Milestone:  R1
Component:  Servers/registrar  |      Version:  R1/Development
 Keywords:                     |   Blocked By:
 Blocking:                     |  Has a Patch:  0
 Platform:  All                |
-------------------------------+------------------------------
 I'm currently working on a launcher for Jar files. Everything currently
 works, except when Registrar launches the script because I double-click on
 a file in Tracker or use {{{open}}}, it doesn't pass the filename as an
 argument, even with {{{B_ARGV_ONLY}}} in the {{{app_flags}}}.

 The script and RDEF are attached. Set them up with:
 {{{
 chmod +x hjava
 rc hjava.rdef
 resattr -o hjava hjava.rsrc
 }}}
 (Note that {{{resattr}}} was not included in the build until hrev48852, so
 prior to that you'll have to compile it yourself.)

--
Ticket URL: <https://dev.haiku-os.org/ticket/11893>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: