Update a few more places to use run_process() instead of execute().

Review Request #14482 — Created June 27, 2025 and submitted

Information

RBTools
master

Reviewers

This change updates the install and land commands to use the
run_process method, along with a few additional test cases.

Ran unit tests.

Summary ID
Update a few more places to use run_process() instead of execute().
This change updates the install and land commands to use the `run_process` method, along with a few additional test cases. Testing Done: Ran unit tests.
d1703e4b3655142711023d39d836240f5a36339e
Description From Last Updated

This should be Sequence.

chipx86chipx86

Closing ) should be on the next line, aligned with python_version.

chipx86chipx86

This can use the common chaining form for run_process(): return ( run_process(...) .stdout.read() )

chipx86chipx86
chipx86
  1. 
      
  2. rbtools/commands/tests/test_main.py (Diff revision 1)
     
     
    Show all issues

    This should be Sequence.

  3. rbtools/commands/tests/test_main.py (Diff revision 1)
     
     
     
     
    Show all issues

    Closing ) should be on the next line, aligned with python_version.

  4. rbtools/commands/tests/test_main.py (Diff revision 1)
     
     
     
     
     
    Show all issues

    This can use the common chaining form for run_process():

    return (
        run_process(...)
        .stdout.read()
    )
    
    1. Oops:

      return (
          run_process(...)
          .stdout
          .read()
      )
      
  5. 
      
david
maubin
  1. Ship It!
  2. 
      
chipx86
  1. Ship It!
  2. 
      
david
Review request changed
Status:
Completed
Change Summary:
Pushed to master (f9395a7)