Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
atlas
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
dataplatform
atlas
Commits
26e699dc
Commit
26e699dc
authored
9 years ago
by
Jon Maron
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
minor cleanup
parent
29c930bb
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
32 deletions
+0
-32
pom.xml
pom.xml
+0
-2
metadata_config.py
src/bin/metadata_config.py
+0
-30
No files found.
pom.xml
View file @
26e699dc
...
...
@@ -102,7 +102,6 @@
<os><family>
windows
</family></os>
</activation>
<properties>
<!--executable.python>python</executable.python-->
<python.path.l>
${project.basedir}\src\bin;${project.basedir}\src\test\python\scripts;${project.basedir}\src\test\mock
</python.path.l>
</properties>
</profile>
...
...
@@ -113,7 +112,6 @@
<os><family>
!windows
</family></os>
</activation>
<properties>
<!--executable.python>${project.basedir}/../slider-agent/src/test/python/python-wrap</executable.python-->
<python.path.l>
${project.basedir}/src/bin:${project.basedir}/src/test/mock:${project.basedir}/src/test/python/scripts
</python.path.l>
</properties>
</profile>
...
...
This diff is collapsed.
Click to expand it.
src/bin/metadata_config.py
View file @
26e699dc
...
...
@@ -157,36 +157,6 @@ def runProcess(commandline):
debug
(
"Executing :
%
s"
%
commandline
)
return
subprocess
.
Popen
(
commandline
)
# exe = subprocess.Popen(commandline,
# stdin=subprocess.PIPE,
# stdout=subprocess.PIPE,
# stderr=subprocess.PIPE,
# shell=False,
# bufsize=1,
# close_fds=ON_POSIX)
#
# t = Thread(target=print_output, args=("stdout", exe.stdout, False))
# t.daemon = True
# t.start()
# t2 = Thread(target=print_output, args=("stderr", exe.stderr, True))
# t2.daemon = True
# t2.start()
# t3 = Thread(target=read_input, args=("stdin", exe))
# t3.daemon = True
# t3.start()
#
# debug("Waiting for completion")
# while exe.poll() is None:
# # process is running; grab output and echo every line
# time.sleep(1)
# debug("completed with exit code : %d" % exe.returncode)
# finished = True
# t.join()
# t2.join()
# t3.join()
# return exe.returncode
def
print_output
(
name
,
src
,
toStdErr
):
"""
Relay the output stream to stdout line by line
...
...
This diff is collapsed.
Click to expand it.
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