ashb commented on code in PR #57193:
URL: https://github.com/apache/airflow/pull/57193#discussion_r2460048401


##########
airflow-core/src/airflow/utils/process_utils.py:
##########
@@ -184,7 +196,18 @@ def execute_in_subprocess_with_kwargs(cmd: list[str], 
**kwargs) -> None:
     :param cmd: command and arguments to run
 
     All other keyword args will be passed directly to subprocess.Popen
+
+    .. deprecated:: 3.2.0
+        This function is deprecated. Please implement your own subprocess 
execution logic,
+        reference the one present in standard / google providers.
     """
+    import warnings
+
+    warnings.warn(

Review Comment:
   Nit: this will warn twice when `execute_in_subprocess` is called. Not sure 
it's worth caring about though.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to