Subject: | offer a context for session |
Hi,
Normally each call to cmd will open a new connection to remote server,
which means such thing will easily be broken:
<CODE>
$c->cmd('cd <somewhere_other_than_home>');
$c->cmd('pwd');
</CODE>
this case one has to do something like:
<CODE>
$c->cmd('cd <somewhere_other_than_home>; pwd');
</CODE>
it works while very hard for debug inner scripts.
I'd like to propose a shared-context session, holding just one active
connection underlying.
----
BR, Dongxu