From 03641c9269fd46ad35b69a7c2d425093b25b14d5 Mon Sep 17 00:00:00 2001 From: Ruud Overeem <overeem@astron.nl> Date: Thu, 3 Aug 2006 09:09:20 +0000 Subject: [PATCH] BugID: 811 Created parset file for child is now copied to other machine if necc. --- MAC/APL/APLCommon/src/ChildControl.cc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/MAC/APL/APLCommon/src/ChildControl.cc b/MAC/APL/APLCommon/src/ChildControl.cc index c176fd59b74..2bb06b51159 100644 --- a/MAC/APL/APLCommon/src/ChildControl.cc +++ b/MAC/APL/APLCommon/src/ChildControl.cc @@ -186,6 +186,11 @@ bool ChildControl::startChild (const string& aName, // Finally write to subset to the file. cntlrSet.writeFile (cntlrSetName); + // When program must run on another system scp file to that system + if (hostname != GCF::Common::myHostname(false)) { + APLUtilities::remoteCopy(cntlrSetName, hostname, cntlrSetName); + } + // Alright, child does not exist yet. // construct structure with all information ControllerInfo ci; -- GitLab