forcing a program to run in the background?

This is a discussion on forcing a program to run in the background? within the Tech Board forums, part of the Community Boards category; how can i force a program to be running, but not have a window up? im running an apache server, ...

  1. #1
    Geo Geo Geo-Fry
    Join Date
    Feb 2003
    Posts
    116

    forcing a program to run in the background?

    how can i force a program to be running, but not have a window up? im running an apache server, and the version i have requires a console window to be open (a while ago i had apache but i dont remember there being any kind of window). then i also have to have another window open for mysql. i dont mind them that much, but im afraid someone in my family will exit them and shutdown my server, even if i specificly tell them not too. someone would forget, or my siblings would just not care, or something and my site would be down. is there a way i can force them to the sytem tray or just make them a process or even just make the window invisible? although it would have to be out of the task bar too.
    also, is there anyway i can make mysql and apache start when the computer is started? im on xp home and i can get it to load when someone logs on but i want it to start and be running even if no one is logged on, how can i do that?
    "You can lead a man to Congress, but you can't make him think."
    "The Grand Old Duke of York
    -He had ten thousand men.
    -His case comes up next week."
    "Roses are red, violets are blue, I'm schizophrenic, and so am I."
    "A computer once beat me at chess, but it was no match for me at kick boxing."
    "More and more of our imports are coming from overseas."
    --George W. Bush
    "If it weren't for electricity, we'd all be wacthing TV by candlelight."
    --George W. Bush

  2. #2
    Pursuing knowledge confuted's Avatar
    Join Date
    Jun 2002
    Posts
    1,916
    You can configure apache to run without the console window. You'll have to install it as a service. It's in the apache help files.

    The MySQL window is just a configuration window, I believe. You can close it, can't you?
    Away.

  3. #3
    Geo Geo Geo-Fry
    Join Date
    Feb 2003
    Posts
    116
    ok ill do that for apache, thx for the help

    as for your advice on mysql, unfortunatly not, i tried that and once i exited the window, my sql stopped. any other ideas anyone?

    <edit>
    ok i looked through the apache config, and i couldnt find where to make it a service. i didnt dl it from the apache site, instead its part of a program called xampp.
    Last edited by Geo-Fry; 10-27-2003 at 04:03 PM.
    "You can lead a man to Congress, but you can't make him think."
    "The Grand Old Duke of York
    -He had ten thousand men.
    -His case comes up next week."
    "Roses are red, violets are blue, I'm schizophrenic, and so am I."
    "A computer once beat me at chess, but it was no match for me at kick boxing."
    "More and more of our imports are coming from overseas."
    --George W. Bush
    "If it weren't for electricity, we'd all be wacthing TV by candlelight."
    --George W. Bush

  4. #4
    Yes, my avatar is stolen anonytmouse's Avatar
    Join Date
    Dec 2002
    Posts
    2,544

  5. #5
    Pursuing knowledge confuted's Avatar
    Join Date
    Jun 2002
    Posts
    1,916
    Meh, just do it the easy way for apache.
    http://httpd.apache.org/docs-2.0/pla...ws.html#winsvc

    Edit:
    Perhaps this site will have the documentation you need for MySQL.
    Last edited by confuted; 10-27-2003 at 08:17 PM.
    Away.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Getting a C# program with a manifest file to run in the debugger
    By Xarzu Athanasop in forum C# Programming
    Replies: 0
    Last Post: 01-18-2008, 06:34 PM
  2. Help me with my basic program, nothing I create will run
    By Ravens'sWrath in forum C Programming
    Replies: 31
    Last Post: 05-13-2007, 03:35 AM
  3. Replies: 2
    Last Post: 12-22-2006, 08:45 PM
  4. forcing stdout of external program to be line-buffered
    By FreakCERS in forum C Programming
    Replies: 4
    Last Post: 09-17-2006, 01:46 PM
  5. program won't run standalone
    By richard in forum C++ Programming
    Replies: 2
    Last Post: 07-20-2002, 07:21 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21