Skip to content

Commit c2afa64

Browse files
Merge pull request Dyalog#85 from rikedyp/supress-ucmd-msg
suppress "rebuilding user command cache... done" message
2 parents 4784a95 + 4182fc1 commit c2afa64

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

dyalog_kernel/kernel.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,13 +230,14 @@ def __init__(self, **kwargs):
230230
0] + "\\dyalog.exe"
231231
CloseKey(dyalogKey)
232232
CloseKey(lastKey)
233-
self.dyalog_subprocess = subprocess.Popen([dyalogPath, "RIDE_SPAWNED=1", 'RIDE_INIT=SERVE::' + str(
233+
self.dyalog_subprocess = subprocess.Popen([dyalogPath, "RIDE_SPAWNED=1", "DYALOGQUIETUCMDBUILD=1", 'RIDE_INIT=SERVE::' + str(
234234
self._port).strip(), 'LOG_FILE=nul', os.path.dirname(os.path.abspath(__file__)) + '/init.dws'])
235235
else:
236236
# linux, darwin... etc
237237
dyalog_env = os.environ.copy()
238238
dyalog_env['RIDE_INIT'] = 'SERVE:*:' + str(self._port).strip()
239239
dyalog_env['RIDE_SPAWNED'] = '1'
240+
dyalog_env['DYALOGQUIETUCMDBUILD'] = '1'
240241
dyalog_env['ENABLE_CEF'] = '0'
241242
dyalog_env['LOG_FILE'] = '/dev/null'
242243
if sys.platform.lower() == "darwin":

0 commit comments

Comments
 (0)