This is an automated email from the ASF dual-hosted git repository.

lfrolov pushed a commit to branch DATALAB-2551
in repository https://gitbox.apache.org/repos/asf/incubator-datalab.git


The following commit(s) were added to refs/heads/DATALAB-2551 by this push:
     new 5707ee726 [DATALAB-2551]: changed how console command is executed
5707ee726 is described below

commit 5707ee7265ee57c049a3b944470d1cd03af26b7c
Author: leonidfrolov <[email protected]>
AuthorDate: Wed May 25 16:07:47 2022 +0300

    [DATALAB-2551]: changed how console command is executed
---
 infrastructure-provisioning/terraform/bin/datalab.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/infrastructure-provisioning/terraform/bin/datalab.py 
b/infrastructure-provisioning/terraform/bin/datalab.py
index 939a18ff2..ff6c9f361 100644
--- a/infrastructure-provisioning/terraform/bin/datalab.py
+++ b/infrastructure-provisioning/terraform/bin/datalab.py
@@ -191,7 +191,7 @@ class Console:
         Returns:
             str: command result
         """
-        process = subprocess.run(command, shell=True, stdout=subprocess.PIPE,
+        process = subprocess.Popen(command, shell=True, stdout=subprocess.PIPE,
                                    stderr=subprocess.STDOUT,
                                    universal_newlines=True)
 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to