Comments (2)
I think that's to be expected as the executeShell()
function does not execute a shell (despite it's name), but rather just exec
's the given command. Can you try with bash -c "dumpsys battery | grep '^ level:' "
for example just to try piping works. Note the explicit shell invokation with bash -c
from jadb.
This is working as expected and has an easy workaround, so closing for now.
from jadb.
Related Issues (20)
- Is "adb forward tcp:80 tcp:80" supported? HOT 1
- Android 10, exception in PackageManager.forceInstall(...)
- Quoting is insufficient HOT 1
- executeShell only executes command when input i HOT 2
- Could you make a new release, please? HOT 3
- Last modified time isn't propagated to the device properly when pushing HOT 1
- SELinux is blocking apk install from /sdcard/* HOT 1
- Trying to connect android with android HOT 4
- execute command not working with mutated vowels (german umlaute) HOT 6
- Provide deterministic module name for Java 9 module support HOT 4
- iOS version for this library or similar HOT 4
- RemoteFile.getPath() doesn't work as intended? HOT 1
- Do I need to manually close any connections or devices? HOT 2
- How does the server module work? HOT 1
- screencap not pulling and working HOT 1
- Is it possible to support exec-out ? HOT 1
- Dependency 'com.github.vidstige:jadb:v1.2.1' not found HOT 4
- device state change offline HOT 1
- java.io.EOFException HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jadb.