diff --git a/speakeasy/windows/win32.py b/speakeasy/windows/win32.py index 258c261..ef9f1bc 100644 --- a/speakeasy/windows/win32.py +++ b/speakeasy/windows/win32.py @@ -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: