getpid
Get nelson(s) Process IDentificator.
📝Syntax
p = getpid()
v = getpid('available')
📥Input Arguments
Parameter Description
'available' a string.
📤Output Arguments
Parameter Description
p a double: current Process Identificator.
v a vector of double: list of nelson Processes Identification (with same arch) currently running for current user.
📄Description

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.

💡Examples
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')
🔗See Also
unixipc
🕔Version History
Version Description
1.0.0 initial version
Edit this page on GitHub