diff --git a/beacon_chain/beacon_node.nim b/beacon_chain/beacon_node.nim index 8f6b8e733..15bc2685b 100644 --- a/beacon_chain/beacon_node.nim +++ b/beacon_chain/beacon_node.nim @@ -287,9 +287,10 @@ proc init*(T: type BeaconNode, if res.config.inProcessValidators: res.addLocalValidators() else: - res.vcProcess = startProcess(getAppDir() & "/signing_process".addFileExt(ExeExt), - getCurrentDir(), [$res.config.validatorsDir, - $res.config.secretsDir]) + let cmd = getAppDir() / "signing_process".addFileExt(ExeExt) + let args = [$res.config.validatorsDir, $res.config.secretsDir] + let workdir = io2.getCurrentDir().tryGet() + res.vcProcess = startProcess(cmd, workdir, args) res.addRemoteValidators() # This merely configures the BeaconSync