View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0037306 | mantisbt | code cleanup | public | 2026-07-13 18:29 | 2026-07-13 18:40 |
| Reporter | dregad | Assigned To | dregad | ||
| Priority | normal | Severity | minor | Reproducibility | N/A |
| Status | resolved | Resolution | fixed | ||
| Target Version | 2.29.0 | Fixed in Version | 2.29.0 | ||
| Summary | 0037306: Build scripts: use subprocess module | ||||
| Description | The scripts use a variety of methods to run external processes: os.system, os.popen (deprecated in Python 3.14), subprocess.call and subprocess.check_call. We should standardise on using subprocess.run (available since Python 3.5) instead. Also avoid creating a sub shell. | ||||
| Tags | No tags attached. | ||||
|
MantisBT: master aca9cbee 2026-07-12 12:16 Details Diff |
Replace os.system by subprocess.run Fixes 0037306 |
Affected Issues 0037306 |
|
| mod - build/buildrelease-repo.py | Diff File | ||
| mod - build/docbook-manual-repo.py | Diff File | ||
|
MantisBT: master c515fd3e 2026-07-12 18:47 Details Diff |
Replace os.popen by subprocess.run Fixes 0037306 |
Affected Issues 0037306 |
|
| mod - build/buildrelease-repo.py | Diff File | ||
| mod - build/docbook-manual-repo.py | Diff File | ||
|
MantisBT: master 1fcde447 2026-07-12 19:00 Details Diff |
Replace subprocess call/check_call by run Fixes 0037306 |
Affected Issues 0037306 |
|
| mod - build/buildrelease-repo.py | Diff File | ||
| mod - build/buildrelease.py | Diff File | ||
| mod - build/docbook-manual.py | Diff File | ||