Re: [Explorer-devel] System.cpp
Brought to you by:
supalov
|
From: Alexander S. <su...@fo...> - 2003-06-27 21:24:46
|
Hi! > I notice that system.cpp includes paths for things like mv, touch > and the like. I appreciate it's trivial to modify these paths, but is the > path actually required? surely these commands are in peoples paths > anyway. No, this cannot be taken for granted. On some systems, files started by the .forward run with empty or very rudimentary paths, which have in fact lead to engine failures in the past. One can set the PATH there, of course, but this looks wrong anyway (see below). > I only point it out as for example RedHat 7.3 puts touch in /sbin > rather than /bin This stuff is on my todo list, together with the output and logging modules. In fact, most of the file management has to be reformulated to eliminate the dependency on the system() calls spread rather liberally across the code. > Obviously this files shows some sign of work on a windows > system - any development on that front? None at the moment. Volunteers? Best regards. Alexander |