Skip to content

Commit 980ae55

Browse files
committed
Upload file
1 parent 9521914 commit 980ae55

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

pio/src/main/java/com/projectkr/shell/SplashActivity.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,8 @@ class SplashActivity : AppCompatActivity() {
203203
else
204204
ShellExecutor.getRuntime()
205205
process?.let { proc ->
206+
readStreamAsync(proc.inputStream.bufferedReader())
207+
readStreamAsync(proc.errorStream.bufferedReader())
206208
DataOutputStream(proc.outputStream).use { os ->
207209
ScriptEnvironmen.executeShell(
208210
this@SplashActivity,

0 commit comments

Comments
 (0)