@cgjs/process
process core module for cgjs
Currently usable
abort()
-
arch
, viarequire('os').arch()
argv
argv0
cwd()
env
exit([code])
-
nexttick(callback[, ...args])
, viasetImmediate(...)
-
pid
, vianew Gio.Credentials().get_unix_pid()
. Not sure yet it works for macOS -
platform
, viarequire('os').platform()
-
title
, viaGLib.get_prgname()
-
version
, via cgjspackage.json
version -
uptime
, viaDate.now() - START_TIME
-
versions()
, via cgjspackage.json
dependencies