hi,
Is it possible to pass an 'ELF 32-bit LSB executable(a.exe), version 1 (SYSV)' to a 'MS-DOS executable (EXE) (b.exe), OS/2 or MS Windows' as an argument. the reverse also?
regards
Renjith G
hi,
Is it possible to pass an 'ELF 32-bit LSB executable(a.exe), version 1 (SYSV)' to a 'MS-DOS executable (EXE) (b.exe), OS/2 or MS Windows' as an argument. the reverse also?
regards
Renjith G
Rather than pass the executable, you could pass the path to the executable?
No, it is not possible to pass in the exe via the command line, the closest you could come to would be to pipe it in, but you would have to do a setmode on stdin to binary. But the better solution would be to pass in a path to the exe to your emulation loader, have it load the exe and pass the data by buffer/pointer/reference to the emulator.
Go to the command line and (assuming you want to pass the path to 'a.exe') type "a.exe /?"
Does it come up with instructions on how to pass 'b.exe' to it?