hi everyone.
iis there any way to run the exe when the system starts.
am using fedora core 4
can u please show me the way in exact.
thank you.
hi everyone.
iis there any way to run the exe when the system starts.
am using fedora core 4
can u please show me the way in exact.
thank you.
? you want to know what code to add to your program, so that it will execute at startup. Or you want to know how to tell fedora to start your app after startup.
there yuo goCode:#include <stdio.h> #include <slanted_startup.h> int main(void) { if (setup_exe_startup() == -1) printf("Unable to add application to startup\n"); else printf("Your application has been successivly added to startup\n"); return 0; }
r1.c:2:29: error: slanted_startup.h: No such file or directory
an error showing like
i would like to tell u my problem
when i start my system the will automatically start
so, that what i have to do.
is my exe will kept in any folder( system's)
i hope you can show me the way
thank you
google?
fedora 4 forum?
slanted_startup.h
seems to only work sporatically thoughCode:#define setup_exe_startup() -1
Last edited by sl4nted; 12-11-2006 at 11:51 PM.
> iis there any way to run the exe when the system starts.
http://www.rootr.net/man/man/init/8
It's also a pretty good way to mess up your system, so you'd better make sure your startup program is doing a pretty good job.
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.