Ok, again, I'm about to drive myself crazy. I am developing a new website with https that has alot of dynamic content to which I resort to perl (primarily) and javascript. My problem is, I need a "backend.pl" program to start up when you go (connect) to the website (if there isn't already an instance running) that monitors conditions happening on the website (ie; connections and disconnections), and shuts down (I can deal with this later, I just need to be sure there is only one instance running) the "backend.pl" program when no one is on the website until someone connects to the website again and starts up again (I'm getting all this information and it works when I start the script manually). I hope this is a good explanation of what I'm trying to do, I have the "backend.pl" program scripted up, and it works good, but I have to start it manually to get it to do it's job. I have spent several hours now trying fork, exec, system, win32::process in several configurations, but, I cannot get a command prompt window to open up on the server (from the server) so to display the messages that are generated by the monitoring script. again it "displays/runs" fine when I start the script from a command prompt window that I open manually and "perl backend.pl". And, so far, none of the options I mentioned actually open a window on the server. Does anyone have any idea how I can "open a command prompt" window from the perl script on the server so that I can "print STDOUT" messages to "this" window so I can see the "monitoring" programs output? I can provide more information if needed, I'm just stumped on this "open a command prompt window" like when I manually open a command prompt window on the server to start the script.
I tried re-inventing the wheel again, but everytime I push it, it still falls flat on it's side...