Started programs by shell can't write files! Why?

44 Views Asked by At

I wrote somethig like a Watchdog in C that whatch for some programs and, if those programs have saty off, it start those programs up.

Ok!

But I have one program that have to write a file, and when I play it works very well, but when my watchdog play it (by shell command), my program don't write the file.

I have the rights to write the file.

Could someone help me?

Thankz!

(in advance sorry for my poor english...)

0

There are 0 best solutions below