nelhage/reptyr — Issue #13: Reptyr works for binaries but not for scripts
Author: bidaian
Created: 2011-10-24 13:52:13+00:00
State: open

I'm using nelhage-reptyr-61cc5f8 on Ubuntu 10.04.3 LTS). On a terminal I created a script like this:

#!/bin/bash

while true
do
sleep 5
date
done

Once I started it I open another terminal and tried to reptyr the bash process, or the parent bash process. The original one was stopped (as if ^Z had been typed) but the output was still coming out on the original terminal. Maybe that's normal behaviour for scripts but just in case I report it.