Hmm yeh you're right it needs pid
-------- Original message --------
From: Balazs Kezes <rlblas...@gmail.com>
Date: 06/03/2014 15:00 (GMT+00:00)
To: Nicholas Marriott <nicholas.marri...@gmail.com>
Cc: Matteo Cavalleri <shivabra...@gmail.com>,
tmux-users@lists.sourceforge.net
Subject: Re: problem with new-window and current directory
On 2014-03-06 12:55, Nicholas Marriott wrote:
> Why not getsid()?
Don't you need a pid for that? I haven't tried but I think we could use
/proc/(window_pane.pid)/cwd for this if we pass the pid down to this
function and then we don't even need the session id queries at all.
--
Balazs
------------------------------------------------------------------------------
Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works.
Faster operations. Version large binaries. Built-in WAN optimization and the
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users