Skip to content

Commit

Permalink
print launched commands to console
Browse files Browse the repository at this point in the history
  • Loading branch information
sugoidogo committed Oct 2, 2022
1 parent 8042c67 commit 487c7d4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions startup-apps.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,10 @@ def script_load(settings):
commands=settings['commands']
for command in commands:
if(os != "Windows" and os.access(command['value'], os.X_OK)):
print(command['value'])
subprocess.Popen([command['value']])
else:
print(prepend+command['value'])
subprocess.Popen(prepend+'"'+command['value']+'"',shell=True)

def script_properties():
Expand Down

0 comments on commit 487c7d4

Please sign in to comment.