nelhage / reptyr

Reparent a running program to a new terminal
MIT License
5.71k stars 216 forks source link

"Invalid argument" when attempt is made to attach to the vim process #153

Open yurivict opened 1 month ago

yurivict commented 1 month ago

When I tried to attach to a vim process running in another terminal this was printed:

$ reptyr 49529
[-] Process 49529 shares a process group with 1 other processes. Unable to attach.

Unable to attach to pid 49529: Invalid argument

It looks like a bug that the "Invalid argument" message was printed.

FreeBSD 14.1