fix: noconfirm auto-selects first AUR match
This commit is contained in:
+3
@@ -0,0 +1,3 @@
|
||||
python3 = find_program('python3')
|
||||
|
||||
test('run_exe', python3, args: [files('test_run_exe.py')[0], barexe])
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
import subprocess
|
||||
import argparse
|
||||
import sys
|
||||
|
||||
if __name__ == '__main__':
|
||||
parser = argparse.ArgumentParser()
|
||||
parser.add_argument('prog')
|
||||
args = parser.parse_args()
|
||||
|
||||
res = subprocess.run(args.prog)
|
||||
|
||||
sys.exit(res.returncode - 42)
|
||||
Reference in New Issue
Block a user