Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Reptyr works for binaries but not for scripts #13

Closed
bidaian opened this Issue · 9 comments

6 participants

Eduardo Trápani Nelson Elhage Robert Obryk Michael Rémi Michael
Eduardo Trápani

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.

Nelson Elhage
Owner
Robert Obryk

One could probably `transplant' the whole process group, one by one. I will try to look into it.

Nelson Elhage
Owner
Michael

Would be useful to have the feature for shell scripts.

Rémi

+1

Michael

any updates?

Michael

Just stumbled over this, would be a very useful feature to have.
+1

Nelson Elhage
Owner

No updates. It's not really something I have the time to actively work on at the moment, unfortunately.

Nelson Elhage
Owner

The new -T option should work properly for scripts under most circumstances!

Nelson Elhage nelhage closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.