Advertisement
Advertisement


Executing 64-bit process from 32-bit process with fork() + execv()


Question

Can fork() + execv() functions be used to execute 64-bit process from 32-bit process? fork() + execv() duplicates the process and replaces its image, and trying to replace a 32-bit process image with 64-bit image might be not so good idea.

Thanks!

2017/04/18
1
2
4/18/2017 2:26:10 PM

Accepted Answer

There is no problem replacing a 32-bit process with a 64-bit image using execv (or any of its kin). It replaces the entire image. This is fine and normal.

2017/04/18
4
4/18/2017 12:23:59 PM