mirror of
https://github.com/radareorg/radare2.git
synced 2024-10-07 10:33:30 +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() {
|
static void rarun2_tty() {
|
||||||
/* TODO: Implement in native code */
|
/* TODO: Implement in native code */
|
||||||
system ("tty");
|
r_sys_cmd ("tty");
|
||||||
close(1);
|
close(1);
|
||||||
dup2(2, 1);
|
dup2(2, 1);
|
||||||
signal (SIGINT, fwd);
|
signal (SIGINT, fwd);
|
||||||
|
Loading…
Reference in New Issue
Block a user