How to change the pid of a running process?

0

Is it possible to change the pid of a running process in linux (debian/ubuntu)? For example: gedit is running on pid 12000, using the command line, can I change it to pid 12001 without closing gedit?

user763666

Posted 2017-08-22T05:02:43.480

Reputation: 1

Possible "duplicate" (because not on SuperUser, but rather StackOverflow): https://stackoverflow.com/questions/6692667/changing-the-process-id-in-linux

– Catalyst – 2017-08-22T05:23:00.140

XY problem? – Kamil Maciorowski – 2017-08-22T05:36:09.797

No answers