On 15/02/07, Craig Barratt <[EMAIL PROTECTED]> wrote:
>
> BackupPC doesn't use a shell for executing these commands,
> so shell substitutions like `...` don't work.
>
> You can set $Conf{TarClientCmd} to execute a shell script that
> can do any argument processing you want.Actually `` are valid Perl quotes that execute a shell, so this would have worked if the `` had not been further quoted. Whether running things like these in a config file is safe is another matter, though. I think this is in general a bad idea, but if the command inside the backticks is guaranteed to produce safe output this should be ok. -- cheers, -ambrose ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ BackupPC-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/
