Setting process command name in forked process
Steve Beck
stevebeck99@hotmail.com
Tue Jan 23 19:32:32 GMT 2024
Hi All, SFTB. Hope this is an appropriate question for this list:
Version 3.4.10 (of cygwin1.dll - cygcheck output attached):
I am trying to set the process command name of a forked process. Is there a prescribed way to do this in Cygwin?
I looked for either prctl(2) from Linux or setproctitle(3) from FreeBSD but they don't link. I've tried things like overwriting the contents of argv[0], but that didn't work either (I'm assuming it's too late by the time the /proc entry has been set up).
Thanks very much in advance,
Steve
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cygcheck.out
Type: application/octet-stream
Size: 225199 bytes
Desc: cygcheck.out
URL: <https://cygwin.com/pipermail/cygwin/attachments/20240123/334ba99f/attachment-0001.obj>
More information about the Cygwin
mailing list