File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
packages/flutter_test_runners/lib/src/platform_comms/ios Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ class Xcrun {
9
9
/// A return value of `true` doesn't mean the app is visible. The app might
10
10
/// be in the background, but still in memory.
11
11
static Future <bool > isAppRunning (String appBundleId) async {
12
+ print ("isAppRunning() - $appBundleId " );
12
13
// final result = await Process.run(
13
14
// "sh",
14
15
// [
@@ -23,6 +24,13 @@ class Xcrun {
23
24
// "xcrun simctl spawn booted launchctl list | grep \"$appBundleId\"",
24
25
// ]);
25
26
27
+ print ("Trying command through shell - no grep..." );
28
+ final result = await _runInShell ([
29
+ "xcrun simctl spawn booted launchctl list" ,
30
+ ]);
31
+ print ("Done with command without grep" );
32
+
33
+ print ("Trying command through shell with '| grep'..." );
26
34
final result = await _runInShell ([
27
35
"xcrun simctl spawn booted launchctl list | grep \" $appBundleId \" " ,
28
36
]);
You can’t perform that action at this time.
0 commit comments