管进入`亚行shell` [英] Pipe into `adb shell`

查看:112
本文介绍了管进入`亚行shell`的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

为什么我不能管进入亚行外壳

[klm@kth ~]$ echo foo | adb shell cat
^C

上面的命令挂在我的4.0.1模拟器,而我没有看到预期的输出。

我presume这是因为亚行外壳不管其标准输入到其子进程stdout和坐着等待,直到永远。有这个真的没有在实施亚行,还是我失去了一些东西?

I presume it's because adb shell doesn't pipe its stdin into its child-process' stdout, and cat sits and waits forever. Has this really not been implemented in adb, or am I missing something?

推荐答案

这是正确的。此功能尚未实现。

This is correct. This functionality has not been implemented.

这篇关于管进入`亚行shell`的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆