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

  • From: "bonefish" <trac@xxxxxxxxxxxx>
  • Date: Mon, 23 Mar 2015 08:56:54 -0000

#11893: When a shell script is the handling application for a mimetype, 
registrar
does not propagate arguments to it
------------------------------------+----------------------------
   Reporter:  waddlesplash          |      Owner:  axeld
       Type:  bug                   |     Status:  new
   Priority:  normal                |  Milestone:  R1
  Component:  Applications/Tracker  |    Version:  R1/Development
 Resolution:                        |   Keywords:
 Blocked By:                        |   Blocking:
Has a Patch:  0                     |   Platform:  All
------------------------------------+----------------------------

Comment (by bonefish):

 At least the `BRoster::Launch()` unit tests for the `B_MULTIPLE_LAUNCH |
 B_ARGV_ONLY` cases suggest ([http://cgit.haiku-
 
os.org/haiku/tree/src/tests/kits/app/broster/LaunchTester.cpp?id=928b74c536203ff2173d7aaac4bee174e41c8943#n769
 here] and [http://cgit.haiku-
 
os.org/haiku/tree/src/tests/kits/app/broster/LaunchTester.cpp?id=928b74c536203ff2173d7aaac4bee174e41c8943#n824
 here]) that `main()` args are actually expected. At a quick glance, the
 argv cases are exercised by the test methods [http://cgit.haiku-
 
os.org/haiku/tree/src/tests/kits/app/broster/LaunchTester.cpp?id=928b74c536203ff2173d7aaac4bee174e41c8943#n1716
 LaunchTester::LaunchTestC3()], [http://cgit.haiku-
 
os.org/haiku/tree/src/tests/kits/app/broster/LaunchTester.cpp?id=928b74c536203ff2173d7aaac4bee174e41c8943#n2917
 LaunchTester::LaunchTestF8()], and [http://cgit.haiku-
 
os.org/haiku/tree/src/tests/kits/app/broster/LaunchTester.cpp?id=928b74c536203ff2173d7aaac4bee174e41c8943#n2936
 LaunchTester::LaunchTestF9()].

 The tests were modelled to verify the BeOS R5 behavior and Haiku's app kit
 classes were written against the tests. It would be interesting to run the
 tests against the current Haiku.

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

Other related posts: