Skip to content

Commit

Permalink
Process.pid() is not available in Java 8
Browse files Browse the repository at this point in the history
  • Loading branch information
matrei committed Oct 19, 2023
1 parent 4d88c8e commit b0425ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions grails-app/init/grails/plugin/inertia/Bootstrap.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,11 @@ class BootStrap {
}

ssrProcess = new ProcessBuilder().inheritIO().command('node', bundle).start()
log.debug 'SSR process started with pid: ' + ssrProcess.pid()
log.debug 'SSR process started'
}

void stopSSR() {
log.debug 'Stopping SSR process with pid: ' + ssrProcess?.pid()
log.debug 'Stopping SSR process'
ssrProcess?.destroy()
}
}

0 comments on commit b0425ac

Please sign in to comment.