mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-02-17 00:47:03 +00:00
Attempt to fix the build on Windows
This commit is contained in:
parent
69f3095fac
commit
1eef531259
@ -692,7 +692,7 @@ proc run*(node: BeaconNode) =
|
|||||||
var gPidFile: string
|
var gPidFile: string
|
||||||
proc createPidFile(filename: string) =
|
proc createPidFile(filename: string) =
|
||||||
createDir splitFile(filename).dir
|
createDir splitFile(filename).dir
|
||||||
writeFile filename, $getCurrentProcessId()
|
writeFile filename, $os_shims.getCurrentProcessId()
|
||||||
gPidFile = filename
|
gPidFile = filename
|
||||||
addQuitProc proc {.noconv.} = removeFile gPidFile
|
addQuitProc proc {.noconv.} = removeFile gPidFile
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user