Re: [dwm] [patch] spawn without shell

From: Peter Hartlich <sgkkr_AT_hartlich.com>
Date: Mon, 9 Jun 2008 15:24:39 +0200

Hi Anselm,

> The reason for going through the shell is simply because users
> demanded to have their shell profile evaluated if a command is
> invoked.

Ah, I thought is was a relic from the time when every argument was
a char pointer.

Though if it is really sh that is used (and not bash etc.), there
shouldn't be any profile loaded for a non-interactive shell, right?

> With you solution /bin/sh -c must be prefixed into these
> commands to have the same effect.

sh -c will do, it's exec*v*p ;)

Regards,
Peter
Received on Mon Jun 09 2008 - 15:25:04 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:47:42 UTC