Re: [dev] [dvtm] create in $CWD not working

From: Marc André Tanner <mat_AT_brain-dump.org>
Date: Wed, 15 Jul 2015 22:23:39 +0200

On Wed, Jul 15, 2015 at 12:59:33PM -0400, Ross Mohn wrote:
> On Wed, Jul 15, 2015 at 05:45:49PM +0200, v4hn wrote:
> > On Wed, Jul 15, 2015 at 11:32:38AM -0400, Ross Mohn wrote:
> > > $ pstree -p 2199
> > > dvtm(2199)─┬─sh(2239)───bash(2240)───mutt(11096)
> > > ├─sh(2324)───bash(2325)
> > > ├─sh(12015)───bash(12016)───vim(17544)
> > > └─sh(12116)───bash(12117)───pstree(21626)
> >
> > Fix your setup. Spawning two shells is stupid already,
> > but to keep the outer shell (your "generic sh") running
> > is insane.
> >
> > exec could help, but reviewing the spawn process to avoid sh
> > to spawn "your" shell would be better.
>
> Thanks, that led me to the solution! Patch is attached, and should work
> for all users. Please test and apply.

Thanks, applied!

For some reason this already worked as expected on my system.

PS: I'm now also subscribed to hackers_AT_

-- 
 Marc André Tanner >< http://www.brain-dump.org/ >< GPG key: CF7D56C0
Received on Wed Jul 15 2015 - 22:23:39 CEST

This archive was generated by hypermail 2.3.0 : Wed Jul 15 2015 - 22:36:04 CEST