Skip to content

Commit

Permalink
PoSh - don't execute file stats at the end
Browse files Browse the repository at this point in the history
Can cause the shell to hang
  • Loading branch information
g0tmi1k committed Feb 18, 2019
1 parent 64217a5 commit 25f2db0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exe2hex.py
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ def save_posh(self):
output += "$x+=1};"
output += "set-content -encoding byte '%s' -value $b;" % (self.exe_filename)
output += "Remove-Item -force %s.hex;" % (self.short_file)
output += "Get-ChildItem %s;" % (self.exe_filename)
#output += "Get-ChildItem %s;" % (self.exe_filename)
output += "\"%s\r\n\r\n" % (suffix)
#output += '%sstart /wait /b %s%s\r\n\r\n' % (prefix, self.exe_filename, suffix)

Expand Down

0 comments on commit 25f2db0

Please sign in to comment.