executor: in pty mode, perform pty open and session login on executor part so it will be session leader
executor: in pty mode, perform pty open and session login on executor part so it will be session leader

DarkCaster/Sandboxer,DarkCaster/Sandboxer