When I do a `ps` on the PathPilot controller, it looks as so:
Code:
0 1001 1867 1444 20 0 541952 39412 poll_s Sl ? 0:00 /usr/bin/python /usr/bin/blueman-applet
0 1001 2147 1878 20 0 203200 39996 wait S ? 0:00 python /home/operator/tmc/python/pathpilotmanager.py
0 1001 2195 2147 20 0 0 0 task_d Z ? 0:00 [python] <defunct>
0 1001 2264 1 20 0 232940 36128 poll_s S ? 1:12 python python/hal_zbotatc.py -n zbotatc
0 1001 2267 1 20 0 230760 35996 poll_s S ? 1:16 python python/hal_zbotschnozz.py -n zbotschnozz
0 1001 2271 1 20 0 305044 36528 poll_s S ? 1:17 python /home/operator/tmc/python/usbio.py -n usbio
0 1001 2280 2211 20 0 1953120 194712 poll_s Sl ? 907:03 python /home/operator/tmc/python/tormach_mill_ui.py -ini /home/operator/tmc/configs/tormach_mill/tormach_440.ini
0 1001 2312 1 20 0 176088 28836 poll_s S ? 1:03 python /home/operator/tmc/python/tormach_console.py -n tormach_console
Some .py files get their own processes. But I can't find any particular file or module that lists which files get this treatment, and it's not given to all .py files in the given directories.
So, how does PathPilot (or LinuxCNC) decide to start particular .py files as processes?