質問編集履歴
1
変更点を追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -99,3 +99,55 @@
|
|
99
99
|
python:2.7
|
100
100
|
|
101
101
|
g++:7.5.0
|
102
|
+
|
103
|
+
|
104
|
+
|
105
|
+
#変更点
|
106
|
+
|
107
|
+
call.py
|
108
|
+
|
109
|
+
```python
|
110
|
+
|
111
|
+
import subprocess
|
112
|
+
|
113
|
+
|
114
|
+
|
115
|
+
print '!!! start'
|
116
|
+
|
117
|
+
|
118
|
+
|
119
|
+
cmd = './hello'
|
120
|
+
|
121
|
+
retcode = subprocess.check_output(cmd)
|
122
|
+
|
123
|
+
print(retcode)
|
124
|
+
|
125
|
+
|
126
|
+
|
127
|
+
print '!!! end'
|
128
|
+
|
129
|
+
```
|
130
|
+
|
131
|
+
|
132
|
+
|
133
|
+
出力
|
134
|
+
|
135
|
+
```ここに言語を入力
|
136
|
+
|
137
|
+
popen start
|
138
|
+
|
139
|
+
!!! start
|
140
|
+
|
141
|
+
Hello world.
|
142
|
+
|
143
|
+
|
144
|
+
|
145
|
+
!!! end
|
146
|
+
|
147
|
+
(None, None)
|
148
|
+
|
149
|
+
popen end
|
150
|
+
|
151
|
+
|
152
|
+
|
153
|
+
```
|