Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-Erm
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenXG
OpenXG-Erm
Commits
223ecca3
Commit
223ecca3
authored
Apr 12, 2021
by
Suzhi Bi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update auto_2.py
parent
cc6ea891
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
server_code/auto_2.py
server_code/auto_2.py
+2
-1
No files found.
server_code/auto_2.py
View file @
223ecca3
...
...
@@ -154,4 +154,5 @@ while 1:
cmd6
=
"python3 result_return.py "
+
str
(
addr
[
0
])
+
" "
+
str
(
os
.
path
.
split
(
new_image
[
k
])[
-
1
]).
split
(
'.'
)[
0
]
+
".txt"
cmd7
=
"rm -f result_"
+
str
(
addr
[
0
])
+
"_"
+
str
(
os
.
path
.
split
(
new_image
[
k
])[
-
1
]).
split
(
'.'
)[
0
]
+
".txt"
cmd
=
cmd1
+
" && "
+
cmd2
+
" && "
+
cmd3
+
" && "
+
cmd4
+
" && "
+
cmd4_1
+
" && "
+
cmd5
+
" && "
+
cmd6
+
" && "
+
cmd7
# + " && " + cmd8
p
=
subprocess
.
Popen
(
cmd
,
shell
=
True
,
stderr
=
subprocess
.
STDOUT
,
stdin
=
subprocess
.
PIPE
)
\ No newline at end of file
p
=
subprocess
.
Popen
(
cmd
,
shell
=
True
,
stderr
=
subprocess
.
STDOUT
,
stdin
=
subprocess
.
PIPE
)
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment