diff options
| author | jakob <jakob@memeware.net> | 2017-09-08 20:36:11 -0400 |
|---|---|---|
| committer | jakob <jakob@memeware.net> | 2017-09-08 20:36:11 -0400 |
| commit | 1a17f23fce09b8325e237a2a65a2227ecf1310b8 (patch) | |
| tree | 3ee8bec5ea0feef74f43d72a9d69254c8664bb90 /hypodermic/main.py | |
| parent | 085f81c9ad630bff88cb4b1482760ec6ff95bc6a (diff) | |
| parent | 26b602c9080572de54458768bf80ef879fb9e8f4 (diff) | |
Merge branch 'master' of https://github.com/TsarFox/hypodermic
Diffstat (limited to 'hypodermic/main.py')
| -rw-r--r-- | hypodermic/main.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/hypodermic/main.py b/hypodermic/main.py index 635e3a7..cb17d3b 100644 --- a/hypodermic/main.py +++ b/hypodermic/main.py @@ -21,7 +21,7 @@ import argparse import sys import textwrap -from hypodermic.ptrace import Process +from hypodermic.process import Process class CustomHelp(argparse.HelpFormatter): @@ -106,8 +106,10 @@ def main(): sys.exit(1) if args.create: - alert("Creating process at path {}".format(args.create)) + alert("Creating process at path '{}'...".format(args.create)) p = Process(path=args.create) + p.continue_until_haulted() else: - alert("Attaching to process with pid {}".format(args.attach)) + alert("Attaching to process with pid {}...".format(args.attach)) p = Process(pid=args.attach) + p.continue_until_haulted() |