Attempt to fix the build on Windows

This commit is contained in:
Zahary Karadjov 2019-06-25 07:00:31 +03:00
parent 69f3095fac
commit 1eef531259
No known key found for this signature in database
GPG Key ID: C8936F8A3073D609
1 changed files with 1 additions and 1 deletions

View File

@ -692,7 +692,7 @@ proc run*(node: BeaconNode) =
var gPidFile: string
proc createPidFile(filename: string) =
createDir splitFile(filename).dir
writeFile filename, $getCurrentProcessId()
writeFile filename, $os_shims.getCurrentProcessId()
gPidFile = filename
addQuitProc proc {.noconv.} = removeFile gPidFile