mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +00:00
feat: replace console with logger
This commit is contained in:
parent
59846cfe2f
commit
c9be6b6b92
5 changed files with 6 additions and 10 deletions
|
@ -43,8 +43,6 @@ export class PythonRPC {
|
|||
}
|
||||
|
||||
public static spawn(initialDownload?: StartDownloadPayload) {
|
||||
console.log([this.BITTORRENT_PORT, this.RPC_PORT, this.RPC_PASSWORD]);
|
||||
|
||||
const commonArgs = [
|
||||
this.BITTORRENT_PORT,
|
||||
this.RPC_PORT,
|
||||
|
@ -86,8 +84,6 @@ export class PythonRPC {
|
|||
"main.py"
|
||||
);
|
||||
|
||||
console.log(scriptPath);
|
||||
|
||||
const childProcess = cp.spawn("python3", [scriptPath, ...commonArgs], {
|
||||
stdio: ["inherit", "inherit"],
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue