add test app

Signed-off-by: Doug Hellmann <doug.hellmann@gmail.com>
Add --exit option to monitor

Add an option to exit the monitor app when the sending
app finishes its run.

Signed-off-by: Doug Hellmann <doug.hellmann@gmail.com>
Update README with example commands

Signed-off-by: Doug Hellmann <doug.hellmann@gmail.com>
use logging instead of printing

Signed-off-by: Doug Hellmann <doug.hellmann@gmail.com>
Shorten output name

When the file being traced is under the cwd of the
running app, don't show the cwd prefix.

Signed-off-by: Doug Hellmann <doug.hellmann@gmail.com>
Set __main__ properly

Tell the app being execed that it is the main program.

Signed-off-by: Doug Hellmann <doug.hellmann@gmail.com>
Cleanup test app some

Signed-off-by: Doug Hellmann <doug.hellmann@gmail.com>
Ensure cwd is in the import path for the runner

The directory containing the main app is added to the
import path, but that app is smiley and not the app
being traced. Add cwd to the front of the path, assuming
that the app being traced is in a working directory.

Signed-off-by: Doug Hellmann <doug.hellmann@gmail.com>
update TODO list

Signed-off-by: Doug Hellmann <doug.hellmann@gmail.com>