From d5e0a334f1e8f9ea8cde72fd1b08a3ea93b77a12 Mon Sep 17 00:00:00 2001 From: Gerry Nelson <45608078+gerrynelson63@users.noreply.github.com> Date: Thu, 13 Feb 2020 09:15:21 -0500 Subject: [PATCH] added --output text --output text will send the status of the import command to the command window. --- importpackages.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/importpackages.py b/importpackages.py index 8eabf6d..91e4ab7 100755 --- a/importpackages.py +++ b/importpackages.py @@ -8,6 +8,7 @@ # # Change History # +# 12feb2020 added --output text to the import command so that status will show # # Copyright © 2019, SAS Institute Inc., Cary, NC, USA. All Rights Reserved. # @@ -73,7 +74,7 @@ if areyousure.upper() =='Y': # get the packageid and import the package packageid=package_data["id"] - command=clidir+'sas-admin -q transfer import --id '+packageid + command=clidir+'sas-admin --output text -q transfer import --id '+packageid print(command) subprocess.call(command, shell=True)