mirror of
https://github.com/duncs/clusterssh.git
synced 2025-07-03 01:43:25 +00:00
Remove 'terminal_chdir' code
Code previously added did not work as intended, so removed as it was unnecessary. Leave in macro substitution for '--action' though as this resolves Github issue #42. Rework wording in Changes file
This commit is contained in:
parent
3f79f1ff54
commit
43d4f1d246
5 changed files with 9 additions and 36 deletions
|
@ -63,7 +63,6 @@ sub script {
|
|||
my \$port=shift;
|
||||
my \$mstr=shift;
|
||||
my \$command="$comms $comms_args ";
|
||||
my \$cwd=qx!pwd!;
|
||||
open(PIPE, ">", \$pipe) or die("Failed to open pipe: \$!\\n");
|
||||
print PIPE "\$\$:\$ENV{WINDOWID}"
|
||||
or die("Failed to write to pipe: $!\\n");
|
||||
|
@ -101,9 +100,7 @@ sub script {
|
|||
}
|
||||
\$command .= " ; $postcommand";
|
||||
# provide some info for debugging purposes
|
||||
warn("Running: \\n");
|
||||
warn(" pwd: \$cwd"); # already has newline
|
||||
warn(" cmd: \$command\\n");
|
||||
warn("Running: \$command\\n");
|
||||
exec(\$command);
|
||||
HERE
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue