question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

How it works? : queryappstate -> getPIDsByName

See original GitHub issue
  • I don’t know it’s bug or I have missunderstanding
  • I don’t think code dosen’t work, but it seems works? I am wondering…
  • I am checking with Galaxy S21 (apilevel=31), it supports pgrep -f
_.escapeRegExp(`([[:blank:]]|^)${name}([[:blank:]]|$)`

becomes "\(\[\[\:blank.....\$\)"

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
mykola-mokhnachcommented, Apr 12, 2022

oh, Windows I assume @KazuCocoa was doing similar fixes recently. The trick was to add windowsVerbatimArguments: system.isWindows() into exec options

0reactions
KazuCocoacommented, Apr 12, 2022

yes, Win system had more tricky " ' handling in escape, so we needed to give windowsVerbatimArguments for node’s exec. i.e. https://github.com/appium/appium-adb/pull/591/files Potentially we have more code where require it for Win more to handle escape better

Read more comments on GitHub >

github_iconTop Results From Across the Web

Get App State - Appium
Edit this Doc Get app state. Get the given app status on the device. Example Usage. Java; Python; Javascript; Ruby; C#. driver.queryAppState('com.apple.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found