Changeset 4357


Ignore:
Timestamp:
Apr 20, 2017, 11:33:36 AM (2 years ago)
Author:
mabarracus
Message:

Fix subprocess call

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lmd/trunk/fuentes/lmd-server.install/usr/share/n4d/python-plugins/LmdImageManager.py

    r4356 r4357  
    11import json
    22import os
     3import subprocess
    34
    45
     
    317318        def check_mirror(self):
    318319                try:
    319                     subprocess.check_call(["lliurex-version","-x","mirror"], shell=True)
     320                    subprocess.check_call(["lliurex-version","-x","mirror"], shell=False)
    320321                   
    321322                    #status will be mirrorReady, msg.llx16.ARCHITECTURES(list) will always be [i386,amd64]
Note: See TracChangeset for help on using the changeset viewer.