[GRASS-git] [OSGeo/grass] a426d4: grass.script: Add separate function to sort throug...

Vaclav Petras noreply at github.com
Wed Apr 23 16:00:24 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/OSGeo/grass
  Commit: a426d429c35b97e482b080dc08b8ae3513e85126
      https://github.com/OSGeo/grass/commit/a426d429c35b97e482b080dc08b8ae3513e85126
  Author: Vaclav Petras <wenzeslaus at gmail.com>
  Date:   2025-04-23 (Wed, 23 Apr 2025)

  Changed paths:
    M python/grass/script/__init__.py
    M python/grass/script/core.py

  Log Message:
  -----------
  grass.script: Add separate function to sort through run_command style parameters (#5582)

Parameters for the run_command family of functions are a mix of Popen parameters and Python-ified parameters of a tool. This refactors the splitting functionality into a separate function allowing for use without the actual Popen call which is part of start_command. This is useful whan you need to call Popen or subprocess.run by yourself, but still want the run_command syntax.



To unsubscribe from these emails, change your notification settings at https://github.com/OSGeo/grass/settings/notifications


More information about the grass-commit mailing list