Please sign in to comment.
make python launcher use os.execvp() instead of subprocess.Popen()
This fixes a bug where casperjs' python launcher process won't pass along kill signals to the phantomjs subprocess. This patch works by using an exec system call which causes the phantomjs subprocess to completely replace the casperjs parent process (while maintaining the same pid). This patch also has the added benefit of saving 10 megs or so of memory.
- Loading branch information...