Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit58afbe4

Browse files
committed
Do not write log file (instead of writing it to nul).
1 parenta7d2aad commit58afbe4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎dyalog_kernel/kernel.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -262,15 +262,15 @@ def __init__(self, **kwargs):
262262
CloseKey(dyalogKey)
263263
CloseKey(lastKey)
264264
self.dyalog_subprocess=subprocess.Popen([dyalogPath,"RIDE_SPAWNED=1","DYALOGQUIETUCMDBUILD=1","Dyalog_LineEditor_Mode=1",'RIDE_INIT=SERVE::'+str(
265-
self._port).strip(),'LOG_FILE=nul',"DYALOGJUPYFOLDER="+os.path.dirname(os.path.abspath(__file__)),"LOAD="+os.path.dirname(os.path.abspath(__file__))+"\\init.aplf"])
265+
self._port).strip(),'LOG_FILE_INUSE=0',"DYALOGJUPYFOLDER="+os.path.dirname(os.path.abspath(__file__)),"LOAD="+os.path.dirname(os.path.abspath(__file__))+"\\init.aplf"])
266266
else:
267267
# linux, darwin... etc
268268
dyalog_env=os.environ.copy()
269269
dyalog_env['RIDE_INIT']='SERVE:*:'+str(self._port).strip()
270270
dyalog_env['RIDE_SPAWNED']='1'
271271
dyalog_env['DYALOGQUIETUCMDBUILD']='1'
272272
dyalog_env['ENABLE_CEF']='0'
273-
dyalog_env['LOG_FILE']='/dev/null'
273+
dyalog_env['LOG_FILE_INUSE']='0'
274274
dyalog_env['DYALOG_LINEEDITOR_MODE']='1'
275275
dyalog_env['DYALOGJUPYFOLDER']=os.path.dirname(os.path.abspath(__file__))
276276
ifshutil.which('mapl'):

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp