[haiku-bugs] Re: [Haiku] #12298: Running shell commands from an app fails

  • From: "pulkomandy" <trac@xxxxxxxxxxxx>
  • Date: Tue, 11 Aug 2015 06:13:54 -0000

#12298: Running shell commands from an app fails
-------------------------+----------------------------
Reporter: humdinger | Owner: nobody
Type: bug | Status: new
Priority: normal | Milestone: Unscheduled
Component: System | Version: R1/Development
Resolution: | Keywords:
Blocked By: | Blocking:
Has a Patch: 0 | Platform: All
-------------------------+----------------------------

Comment (by pulkomandy):

@taos: that may be a different issue: apps running from Terminal are
started in the correct directory, while when started from Tracker they are
run with /boot/home as the current directory. This is known to confuse
many SDL-based apps and other ports. Does our simutrans port already
include a patch for this (a typical way to patch this is adding
{{{chdir(dirname(argv[0]))}}} in the main function)?

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

Other related posts: