Spaces:
Sleeping
Sleeping
AutonLabTruth
commited on
Commit
•
c1807a5
1
Parent(s):
59765a8
line buffering size 1 is not supported for windows binary mode. Changing it to -1 to supress warning
Browse files- pysr/sr.py +1 -1
pysr/sr.py
CHANGED
@@ -308,7 +308,7 @@ def _final_pysr_process(julia_optimization, procs, runfile_filename, timeout, **
|
|
308 |
command = [f'timeout', f'{timeout}'] + command
|
309 |
if kwargs['verbosity'] > 0:
|
310 |
print("Running on", ' '.join(command))
|
311 |
-
process = subprocess.Popen(command, stdout=subprocess.PIPE, bufsize
|
312 |
try:
|
313 |
while True:
|
314 |
line = process.stdout.readline()
|
|
|
308 |
command = [f'timeout', f'{timeout}'] + command
|
309 |
if kwargs['verbosity'] > 0:
|
310 |
print("Running on", ' '.join(command))
|
311 |
+
process = subprocess.Popen(command, stdout=subprocess.PIPE, bufsize=-1)
|
312 |
try:
|
313 |
while True:
|
314 |
line = process.stdout.readline()
|