mirror of
https://github.com/vee1e/speakeasy.git
synced 2026-09-01 19:07:23 +00:00
load windows CLI arguments properly
This commit is contained in:
parent
e50afa89e7
commit
ef13dc98b7
1 changed files with 4 additions and 0 deletions
|
|
@ -359,6 +359,10 @@ class Win32Emulator(WindowsEmulator):
|
|||
"""
|
||||
self.prepare_module_for_emulation(module, all_entrypoints)
|
||||
|
||||
# Update the command line if arguments were supplied via argv (-p)
|
||||
if self.argv:
|
||||
self.command_line = ' '.join(self.get_argv())
|
||||
|
||||
# Create an empty process object for the module if none is
|
||||
# supplied, only do this for the main module
|
||||
if len(self.processes) == 0:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue