10
0
mirror of https://github.com/QuantumPackage/qp2.git synced 2024-06-26 15:12:19 +02:00

Fix bug when a blank space precedes program

This commit is contained in:
Anthony Scemama 2019-04-01 18:02:34 +02:00
parent e8d8f73475
commit 148add1a73

View File

@ -538,7 +538,7 @@ def get_binaries(path_module):
import subprocess
try:
cmd = 'grep -l -e "^program " {0}/*.irp.f'.format(path_module.abs)
cmd = 'grep -l -e "^\\s*program " {0}/*.irp.f'.format(path_module.abs)
process = subprocess.Popen([cmd],
shell=True,
stdout=subprocess.PIPE,