質問編集履歴

1

pythonコマンド修正

2019/10/02 06:20

投稿

stweoigh
stweoigh

スコア13

test CHANGED
File without changes
test CHANGED
@@ -6,15 +6,15 @@
6
6
 
7
7
  ```Python
8
8
 
9
- def __init__(self):
10
9
 
11
- Loc="string"
12
10
 
13
- Linuxcmd = ["$0 $1","sh ./F.sh",Loc]
11
+ Loc="string"
14
12
 
15
- print("Please wait.....")
13
+ Linuxcmd = ["$0 $1","sh ./F.sh",Loc]
16
14
 
15
+ print("Please wait.....")
16
+
17
- subprocess.run(Linuxcmd,shell=True, stdout = subprocess.PIPE, stderr = subprocess.STDOUT)
17
+ subprocess.run(Linuxcmd,shell=True, stdout = subprocess.PIPE, stderr = subprocess.STDOUT)
18
18
 
19
19
  ```
20
20