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