Skip to content

Commit

Permalink
preparing v1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Ajju2211 committed Oct 2, 2021
1 parent de0a43e commit 3fa63da
Showing 1 changed file with 8 additions and 11 deletions.
19 changes: 8 additions & 11 deletions build.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,18 @@
Building Executables
'''
print('Started build...')

build = subprocess.Popen(["pyinstaller", "--onefile", "--windowed", "--icon=logo.ico", "Pic2Text.py"],
stdin =subprocess.PIPE,
stdout=subprocess.PIPE,
stderr=subprocess.PIPE,
universal_newlines=True,
bufsize=0)

# build = subprocess.Popen(["pyinstaller", "--onefile", "--windowed", "--icon=logo.ico", "Pic2Text.py"],
# stdin =subprocess.PIPE,
# stdout=subprocess.PIPE,
# stderr=subprocess.PIPE,
# universal_newlines=True,
# bufsize=0)

# # Send OP
# build.stdin.write("uname -a\n")
# build.stdin.write("uptime\n")
# build.stdin.close()
# Send OP
build.stdin.write("uname -a\n")
build.stdin.write("uptime\n")
build.stdin.close()

# Fetch output
for line in build.stdout:
Expand Down

0 comments on commit 3fa63da

Please sign in to comment.