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

  • From: "jackburton" <trac@xxxxxxxxxxxx>
  • Date: Wed, 12 Aug 2015 06:32:43 -0000

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

Comment (by jackburton):

Replying to [comment:12 jackburton]:

Yeah, also because putenv() doesn't copy the passed string:
http://pubs.opengroup.org/onlinepubs/009695399/functions/putenv.html
http://www.greenend.org.uk/rjk/tech/putenv.html

Replying to myself: it seems our putenv() and setenv() behave the same
way: they both copy the passed string.

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

Other related posts: