MCPcopy Create free account
hub / github.com/FEX-Emu/FEX / TryInstallRootFS

Function TryInstallRootFS

Scripts/InstallFEX.py:324–333  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

322 return False
323
324def TryInstallRootFS():
325 DidInstall = False
326 try:
327 CmdResult = subprocess.call(["FEXRootFSFetcher"])
328 DidInstall = CmdResult == 0
329 except KeyboardInterrupt:
330 print ("Keyboard interrupt")
331 DidInstall = False
332 pass
333 return DidInstall
334
335def TryBasicProgramExecution():
336 return subprocess.call(["FEXInterpreter", "/usr/bin/uname", "-a"]) == 0

Callers 1

mainFunction · 0.85

Calls 1

printFunction · 0.85

Tested by

no test coverage detected