diff --git a/MAC/APL/APLCommon/src/ChildControl.cc b/MAC/APL/APLCommon/src/ChildControl.cc index c176fd59b74452b72a6079c84851214d56107908..2bb06b511596fb630347771c3d331fba2c285147 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;