Spaces:
Runtime error
Runtime error
Commit
·
a1048b6
1
Parent(s):
aaa298b
Removed sudo in command3,4,5,6
Browse files
app.py
CHANGED
@@ -16,10 +16,10 @@ perm = subprocess.run(command2, shell=True,stdout=subprocess.PIPE,stderr=subproc
|
|
16 |
# result = subprocess.run(command, shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE, text=True)
|
17 |
# print("Wine Installation: ",wine_c)
|
18 |
print("Access Installation: ",perm)
|
19 |
-
command3 = "
|
20 |
-
command4 = "
|
21 |
-
command5 = "
|
22 |
-
command6 = "
|
23 |
t1= subprocess.run(command3, shell=True,stdout=subprocess.PIPE,stderr=subprocess.PIPE, text=True)
|
24 |
t2= subprocess.run(command4, shell=True,stdout=subprocess.PIPE,stderr=subprocess.PIPE, text=True)
|
25 |
t3= subprocess.run(command5, shell=True,stdout=subprocess.PIPE,stderr=subprocess.PIPE, text=True)
|
|
|
16 |
# result = subprocess.run(command, shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE, text=True)
|
17 |
# print("Wine Installation: ",wine_c)
|
18 |
print("Access Installation: ",perm)
|
19 |
+
command3 = "apt install sudo"
|
20 |
+
command4 = "dpkg --add-architecture i386"
|
21 |
+
command5 = "apt-get update"
|
22 |
+
command6 = "apt-get install wine32:i386"
|
23 |
t1= subprocess.run(command3, shell=True,stdout=subprocess.PIPE,stderr=subprocess.PIPE, text=True)
|
24 |
t2= subprocess.run(command4, shell=True,stdout=subprocess.PIPE,stderr=subprocess.PIPE, text=True)
|
25 |
t3= subprocess.run(command5, shell=True,stdout=subprocess.PIPE,stderr=subprocess.PIPE, text=True)
|