diff --git a/tests/test_core.py b/tests/test_core.py index cd18d69..15bad57 100644 --- a/tests/test_core.py +++ b/tests/test_core.py @@ -17,7 +17,7 @@ class TestCore(unittest.TestCase): @classmethod def setUpClass(cls): system = platform.system() - cls.target = subprocess.Popen([target_program]) + cls.target = subprocess.Popen([target_program], stdin=subprocess.PIPE) cls.session = frida.attach(cls.target.pid) @classmethod diff --git a/tests/test_discoverer.py b/tests/test_discoverer.py index 7d6ef33..2f85654 100644 --- a/tests/test_discoverer.py +++ b/tests/test_discoverer.py @@ -18,7 +18,7 @@ class TestDiscoverer(unittest.TestCase): @classmethod def setUpClass(cls): system = platform.system() - cls.target = subprocess.Popen([target_program]) + cls.target = subprocess.Popen([target_program], stdin=subprocess.PIPE) cls.session = frida.attach(cls.target.pid) @classmethod diff --git a/tests/test_tracer.py b/tests/test_tracer.py index 26f9d9e..5d1fd37 100644 --- a/tests/test_tracer.py +++ b/tests/test_tracer.py @@ -18,7 +18,7 @@ class TestTracer(unittest.TestCase): @classmethod def setUpClass(cls): system = platform.system() - cls.target = subprocess.Popen([target_program]) + cls.target = subprocess.Popen([target_program], stdin=subprocess.PIPE) cls.session = frida.attach(cls.target.pid) @classmethod