-
-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Rarun2's program redirection doesn't work. #3951
Comments
program and its arguments must be the last ones in the commandline, try
also, there are several shorter ways to make that stdin thing for example:
a bit longer:
i was a bit scared with that python for just an echo :P On 01/13/2016 06:51 PM, akrasuski1 wrote:
|
Doesn't seem to work either. Also, the short python program was just an example, normally it would be much longer of course ;) |
which version of r2 are you using? last one from git? do On 01/13/2016 07:24 PM, akrasuski1 wrote:
|
I updated r2 just yesterday, I don't believe anythin important changed since then. |
This is the place which prints the first error - it lies a bit - it's not the |
Confirmed, this is a regression on linux. im looking at it |
Fix didn't work, same problem persists. |
Could you reopen the issue? |
Can anyone reproduce? |
|
Echo is not a program
|
Welcome to unix
|
I just followed your instructions.... Same with "2"
Same with the first example
|
Happy Haloween, the dead thread is coming back! (Sorry for that..) EDIT: Seems it doesn't make things work but just bypass these errors, the stdin is still interactive (and not reading the command output) while debugging.. |
$( is nothing, RTFM
|
Following your instruction it doesn't work either. |
instructionS |
I, think, I found the reason of error: https://github.com/radare/radare2/blob/1.1.0/libr/socket/run.c#L247 |
Can you send a PR?
… On 20 Jan 2017, at 22:50, Polshakov Dmitry ***@***.***> wrote:
I, think, I found the reason of error: https://github.com/radare/radare2/blob/1.1.0/libr/socket/run.c#L247
Here ends the original process (whose PID has been saved) and continue new one
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub, or mute the thread.
|
@radare I'm trying to fix the issue, but changing sign |
Can you add a test case for this?
… On 21 Jan 2017, at 09:40, Polshakov Dmitry ***@***.***> wrote:
@radare I'm trying to fix the issue, but changing sign s/==/!=/ provide a regression.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
@radare I will try |
radare2$: r2 -d ls having this error! How to troubleshoot |
This is not the same issue, please see doc/macos.md as written. |
dbg.profile
's stdin field seem to work only with files, not with programs. Consider:There are a couple of errors. On the other hand, if I change
/tmp/prof
file to use file as input, it works fine:Note that doing this with just
rarun2
works fine in both cases -rarun2 /tmp/prof
lists files.The text was updated successfully, but these errors were encountered: