>For logging issues, does this help (putting it in main())?> int devnullfd = -1;>devnullfd = open("/dev/ttyS0", O_WRONLY);> if ( devnullfd && dup2(devnullfd, STDOUT_FILENO) == -1)>{> printf("Cannot dup\n"); }> I used this to run my application but printf statement not > happening ,becoz> of the ia
Hi,
>For logging issues, does this help (putting it in main())?
> int devnullfd = -1;
>devnullfd = open("/dev/ttyS0", O_WRONLY);
> if ( devnullfd && dup2(devnullfd, STDOUT_FILENO) == -1)
>{
> printf("Cannot dup\n"); }
I used this to run my application but printf statement not happening ,becoz
of t
Hi, have you tried /etc/profile or wherever it is that the shell reads
the init file? However, that would execute in ssh sessions too, for
instance.
Also make sure you didn't use "date &" but "date " only in /etc/rc,
since the first one would make date run on the background.
On Jan 4, 2008 3:58
Hi to all,
I am using uclinux with snapgear 3.4,i need to run a program at booting
time,
then i placed my execute file in etc/rc ,it is executing but in the program
it must wait for user date(keyboard),But it is not waiting...
then i realised that at the time of execting this program,shell is yet
Hi Wolfgang,
Hi Jerry,
On Fri, Dec 07, 2007 at 06:33:36PM -0800, Jerry (Peng) Yang wrote:
You can simply type:
Ps.
Then you can get the process id. Type kill n.
[...]
well, that would be the fall-back solution if anything else fails.
If I understand correctly, you mean starting the ap
Hi Jerry,
On Fri, Dec 07, 2007 at 06:33:36PM -0800, Jerry (Peng) Yang wrote:
> You can simply type:
> Ps.
> Then you can get the process id. Type kill n.
[...]
well, that would be the fall-back solution if anything else fails.
If I understand correctly, you mean starting the application in the
ba
Subject: [uClinux-dev] another stupid (simple?) question - auto-start of
application with shell?
Hi,
sorry there are so many questions from me lately!
I am just trying to set up some first tests, but not making switching
between development and test version too difficult.
I would like to
Hi,
sorry there are so many questions from me lately!
I am just trying to set up some first tests, but not making switching
between development and test version too difficult.
I would like to automatically start an application when uClinux boots
up, but be able to terminate this application with