unholyangl
Programmer
I've developed a cross platform process management module for win32 and linux, tested on XP/Fedora4. Same ideas as a module like Proc::Background on cpan, but solves some problems I had with start_in directorys under windows and I implemented things I needed like manipulating processes which are running; Hence, not just executing them. Next I plan to implement user/daemon functionalitys, etc.
Anyway to my point, as I'm getting carried away ;D As Linux is founded on process input/output filehandles (or so I read in Perl Cookbook this morning,) I'm assuming windows is a bit different. Example: when I execute my <b>perl scripts</b> with the module under windows, it inherits the input/output/error meaning I can redirect it; BUT, when I execute a game server or something, ("Starsiege Tribes" to be exact if you know what that even is,) it seems to break off on it's own and I can't access the data because the buffers are going to another process/terminal or whatever.
Anyway what I'm getting at... <b>How can I open/connect INPUT/OUTPUT buffers at RUNTIME, after a process is executing.</b> Or some suggestions on how to solve some of these problems I'm having? Thx ALOT in advance, I've been stumped on this peace of the project for a few days now
Screenshots:
The process management is only used right now on that first line, if you take attention to where it says "spawn>"
What is going on here is the program Spawn is executing another perl program and works great cuz it inherits the forked input/output/error, but doesn't work the same when I execute something else under windows.
Anyway to my point, as I'm getting carried away ;D As Linux is founded on process input/output filehandles (or so I read in Perl Cookbook this morning,) I'm assuming windows is a bit different. Example: when I execute my <b>perl scripts</b> with the module under windows, it inherits the input/output/error meaning I can redirect it; BUT, when I execute a game server or something, ("Starsiege Tribes" to be exact if you know what that even is,) it seems to break off on it's own and I can't access the data because the buffers are going to another process/terminal or whatever.
Anyway what I'm getting at... <b>How can I open/connect INPUT/OUTPUT buffers at RUNTIME, after a process is executing.</b> Or some suggestions on how to solve some of these problems I'm having? Thx ALOT in advance, I've been stumped on this peace of the project for a few days now
Screenshots:
The process management is only used right now on that first line, if you take attention to where it says "spawn>"
What is going on here is the program Spawn is executing another perl program and works great cuz it inherits the forked input/output/error, but doesn't work the same when I execute something else under windows.