in reply to Spawning processes from scalars
That's basically not possible, at least not unless you tell us on what operating system this should happen.
For very specialized cases, you might get away by using a combination of fork to create a copy of your current process and then jumping into the binary code of the executable. But again, that requires very much specialization, as no fixups and no dynamic loading will have happened to the binary executable. Normally, all these tasks are done by the operating system, and you will have to replicate these.
Also see File::Temp, chmod and system for how to launch the file.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Spawning processes from scalars
by Anonymous Monk on Apr 25, 2011 at 13:42 UTC | |
|
Re^2: Spawning processes from scalars
by fluffyvoidwarrior (Monk) on Apr 25, 2011 at 14:30 UTC | |
by Corion (Patriarch) on Apr 25, 2011 at 15:36 UTC | |
by fluffyvoidwarrior (Monk) on Apr 25, 2011 at 17:36 UTC | |
by chrestomanci (Priest) on Apr 25, 2011 at 19:51 UTC | |
by fluffyvoidwarrior (Monk) on Apr 25, 2011 at 22:39 UTC |