mirror of
https://github.com/radareorg/radare2.git
synced 2024-10-07 02:23:58 +00:00
Do not use system in rarun2
This commit is contained in:
parent
6805a12210
commit
b4395185f1
@ -10,7 +10,7 @@ static void fwd(int sig) {
|
||||
|
||||
static void rarun2_tty() {
|
||||
/* TODO: Implement in native code */
|
||||
system ("tty");
|
||||
r_sys_cmd ("tty");
|
||||
close(1);
|
||||
dup2(2, 1);
|
||||
signal (SIGINT, fwd);
|
||||
|
Loading…
Reference in New Issue
Block a user