toreinar / terminal-ide

Automatically exported from code.google.com/p/terminal-ide
0 stars 0 forks source link

htop tries /bin/sh for lsof command #106

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. get a fully functional lsof instead of toolbox's builtin one
2. open htop
3. press l

What is the expected output? What do you see instead?
Excepted: htop calls lsof and show the opened files of the process.
Got instead: nothing shown. strace shows that htop is calling /bin/sh and it 
doesn't exist.

What version of the product are you using? On what operating system?
System v2.0. htop 1.0.

Please provide any additional information below.
I see the htop is statically linked. What about a htop built by Android NDK 
instead? I built one and it works fine :-)

Original issue reported on code.google.com by lilyd...@gmail.com on 8 Mar 2014 at 1:53