@LocalContext
def run_shellcode_exitcode(bytes):
 p = run_shellcode(bytes)
 p.wait_for_close()
 return p.poll()

@ LocalContext def run_shellcode_exitcode ( bytes ) : p = run_shellcode ( bytes ) p . wait_for_close ( ) return p . poll ( )
given assembled machine code bytes .