tekartik / process_run.dart

Process run helper

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Question] Run process on mac while running integration test on Android emulator

mrhabibi opened this issue · comments

Hi, I need to run another bash script from my mac while running integration test on Android emulator, so the code will be invoked from the integration test code.

When I tried that out, It seems that process_run is running on the android environment, so I couldn't access any command from my mac such as git, flutter, dart, etc. But instead I can access my android command such as input, etc.

Can you help me solving my problem? Thank you.

You cannot spawn a mac executable while running tests on android. Typically you could create a dart script that will spawn both integration test runner and a mac executable and have them communicate with websocket or http for example.

I see, so it's not doable at least for now. Yeah, your suggestion may work for my case, thanks for your speedy response!