Searched refs:findProg (Results 1 - 1 of 1) sorted by relevance

/gem5/util/
H A Dgem5img.py81 realCommand = [findProg('sudo')] + command
87 realCommand = [findProg('sudo')] + command
91 def findProg(program, cleanupDev=None): function
107 (out, returncode) = privOutput([findProg('losetup'), '-f'])
112 command = [findProg('losetup'), self.devFile, fileName]
122 returncode = runPriv([findProg('losetup'), '-d', self.devFile])
131 command = [findProg('sfdisk'), '-d', dev.devFile]
151 (mountTable, returncode) = getOutput([findProg('mount')])
226 if runPriv([findProg('mount'), str(dev), mountPoint]) != 0:
247 if runPriv([findProg('umoun
[all...]

Completed in 5 milliseconds