lengyue233 commited on
Commit
93ab4bd
1 Parent(s): ca828ae

Observe bash cmd

Browse files
Files changed (1) hide show
  1. app.py +3 -4
app.py CHANGED
@@ -1,8 +1,7 @@
1
  import subprocess as sp
2
- sp.check_call([
3
- "bash",
4
- "setup.sh"
5
- ], shell=True)
6
 
7
  import html
8
  import os
 
1
  import subprocess as sp
2
+ import sys
3
+
4
+ sp.check_call(["bash", "setup.sh"], shell=True, stdout=sys.stdout, stderr=sys.stderr)
 
5
 
6
  import html
7
  import os