getpid
Last updated
Was this helpful?
Last updated
Was this helpful?
Was this helpful?
Get nelson(s) Process IDentificator.
p = getpid()
v = getpid('available')
'available' - a string.
p - a double: current Process Identificator.
v - a vector of double: list of nelson Processes Identification (with same arch) currently running for current user.
p = getpid() returns current nelson process identificator currently running on computer.
v = getpid('available') returns list of nelson processes identificators (with same arch) running for current user.
win64 and win32 are two differents architecture but they can run in same time.
, .
Allan CORNET
p = getpid()
getpid('available')
unix('nelson-gui &')
sleep(5) % detached process need to wait to see available
getpid('available')
unix('nelson-gui &')
sleep(5) % detached process need to wait to see available
getpid('available')
unix('nelson-gui &')
sleep(5) % detached process need to wait to see available
getpid('available')
1.0.0
initial version