mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-18 04:53:19 +02:00
Create devutil.js
This commit is contained in:
@@ -42,7 +42,7 @@ devutil.listPidsByComm = function(adb, serial, comm, bin) {
|
||||
return adb.shell(serial, ['ps', comm])
|
||||
.then(function(out) {
|
||||
return new Promise(function(resolve) {
|
||||
var header = false
|
||||
var header = true
|
||||
var pids = []
|
||||
out.pipe(split())
|
||||
.on('data', function(chunk) {
|
||||
|
||||
Reference in New Issue
Block a user