Commit ffe57009 authored by Chinmay Garde's avatar Chinmay Garde Committed by GitHub

Shell instances launched by the tools from the desktop are always non-interactive. (#5778)

In that they never create a window with an OpenGL context and the works.
parent 17c7118a
d3ba01d8a48b96829957e1c1a28a6034974f79ae
a55fa1efb90b83c56004f12ee67673f4836eb33d
......@@ -61,9 +61,10 @@ Future<Process> _startProcess(String mainPath, { String packages, int observator
if (observatoryPort != null) {
arguments.add('--observatory-port=$observatoryPort');
} else {
arguments.add('--non-interactive');
arguments.add('--disable-observatory');
}
arguments.addAll(<String>[
'--non-interactive',
'--enable-checked-mode',
'--packages=$packages',
mainPath
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment