Page 1 of 1

how to know the current process id?

Posted: Tue Sep 06, 2016 8:52 am
by csfreebird
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

Re: how to know the current process id?

Posted: Tue Sep 13, 2016 11:36 am
by csfreebird
(sys-info 7)

:)

nobody talking here, so quite. :(

Re: how to know the current process id?

Posted: Tue Sep 13, 2016 3:35 pm
by ssqq
I have not use process, because switch at Windows and Ubuntu.

Re: how to know the current process id?

Posted: Fri Dec 02, 2016 7:01 am
by Trythistwo
Your talents surpass your loveliness.
goldclubslot