Calling a exe from another exe?

Blitz3D Forums/Blitz3D Programming/Calling a exe from another exe?

there's a problem when exe 1 is running in fullscreen mode. Running exe 2 will minimize exe 1. While minimized the execution of exe 1 is paused. After terminating exe2 exe 1 will not be maximised automaticly, but the user needs to click it on the taskbar.

Exe 2 may re-maximize exe 1 before it ends using Api commands, but it still needs to give focus to exe 1, where the common api commands didn't seem to work, so I had to emulate a mouseclick - needless to say, a criminal dirty hack.

A better solution is welcome.