how to know the current process id?
Posted: Tue Sep 06, 2016 8:52 am
I want to output current process id, save it as a file, the file content is all arguments of this process. e.g.
I have a test.lsp file, when running it with -a=b -c=d
I want to save a process id file: 16754,
cat 16754, I will see
-a=b -c=d
I have a test.lsp file, when running it with -a=b -c=d
I want to save a process id file: 16754,
cat 16754, I will see
-a=b -c=d