You can not. Another process is another executable file. If you do not create another instance of the same program, the child process will not even contain the Hello () function.
, Hello(). std: cin (.. )
UNIX/Linux . . fork (2). Hello() . boost:: process: launch (9 map to fork + exec . fork() boost, , .
, , .