Skip to content

Commit

Permalink
try with windows path replacements
Browse files Browse the repository at this point in the history
  • Loading branch information
rkm committed Jan 7, 2025
1 parent e9c22f2 commit 820f009
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public SmiCtpAnonymiser(GlobalOptions globalOptions)
srAnonTool = dicomAnonymiserOptions.SRAnonymiserToolPath;
}

var ctpArgs = $"-jar {dicomAnonymiserOptions.CtpAnonCliJar} --anon-script {dicomAnonymiserOptions.CtpAllowlistScript} --sr-anon-tool {srAnonTool} --daemonize";
var ctpArgs = $"-jar {dicomAnonymiserOptions.CtpAnonCliJar.Replace("/", "\\")} --anon-script {dicomAnonymiserOptions.CtpAllowlistScript.Replace("/", "\\")} --sr-anon-tool {srAnonTool.Replace("/", "\\")} --daemonize";
_logger.Info($"Starting ctp with: java {ctpArgs}");
_ctpProcess = ProcessWrapper.CreateProcess("java", ctpArgs);
_ctpProcess.Start();
Expand Down

0 comments on commit 820f009

Please sign in to comment.