Add option to suppress storage copy for testing

This commit is contained in:
2016-05-04 10:47:04 -04:00
parent 790930dd66
commit e9a9ae186c
5 changed files with 26 additions and 4 deletions
+4
View File
@@ -69,6 +69,10 @@ namespace LeafWeb.Core.Remote
{
ssh.Connect();
var commandText = $"{RemoteScriptPath} -d {leafInput.DirectoryName} -p {leafInput.PhotosyntheticType} -s";
if (leafInput.SuppressStorageCopy)
commandText += " -t";
var command = ssh.CreateCommand(commandText);
command.Execute();
ssh.Disconnect();