Search Results

Search: Posts Made By: latitude
Forum: Programming 08-22-2007
21,364
Posted By latitude
Thanks! I can try that, but I really don't know...
Thanks!
I can try that, but I really don't know when it would fail, because the program works 99.9% of the times.
Forum: Programming 08-21-2007
21,364
Posted By latitude
The application does not change the current...
The application does not change the current directory and source and destination directories are FQPs.
Forum: Programming 08-21-2007
21,364
Posted By latitude
The program is running from a location different...
The program is running from a location different from the source or destination directories.
Forum: Programming 08-21-2007
21,364
Posted By latitude
cp and rm return non zero value
rm and cp return non zero values sometimes.

sprintf(tmp, "rm -rf %s/* 2>/dev/null\n", dest);
rc = system( tmp );
rc = 1 and errno =0

sprintf(tmp, "cp -r %s/* %s 2>/dev/null", source, dest);...
Showing results 1 to 4 of 4

 
All times are GMT -4. The time now is 02:38 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy