mirror of
https://github.com/xpipe-io/xpipe.git
synced 2024-11-22 07:30:24 +00:00
Fix custom daemon start up
This commit is contained in:
parent
22619224c5
commit
0798c53762
1 changed files with 2 additions and 1 deletions
|
@ -31,7 +31,8 @@ public class BeaconServer {
|
|||
var custom = BeaconConfig.getCustomDaemonCommand();
|
||||
if (custom != null) {
|
||||
var command =
|
||||
custom + " " + (BeaconConfig.getDaemonArguments() != null ? BeaconConfig.getDaemonArguments() : "");
|
||||
ShellTypes.getPlatformDefault().executeCommandWithShell(
|
||||
custom + (BeaconConfig.getDaemonArguments() != null ? " " + BeaconConfig.getDaemonArguments() : ""));
|
||||
Process process = Runtime.getRuntime().exec(command);
|
||||
printDaemonOutput(process, command);
|
||||
return process;
|
||||
|
|
Loading…
Reference in a new issue