Hi,
exec_async seems to give executed children an environment with the
current directory set to /. I wrote the following extension that creates
a new urxvtc for the current urxvtd (as defined by RXVT_SOCKET).
sub on_start {
my ($self) = @_;
my $term = $self->{term};
my $popup_hook = $term->{option_popup_hook};
push @{ $popup_hook }, sub {
("URxvtC" => 0, sub {
$term->exec_async ("urxvtcd");
});
};
}
Whenever I use it to create a terminal, that new terminal starts with a
current dir of /. Am I using exec_async incorrectly? This is under 9.05
from Ubuntu Intrepid.
Thanks,
Dan
_______________________________________________
rxvt-unicode mailing list
[email protected]
http://lists.schmorp.de/cgi-bin/mailman/listinfo/rxvt-unicode