You could have used also something like rfork n bind $1 /proc shift ps $* without having to open a new window.