search for: svn_cmd

Displaying 1 result from an estimated 1 matches for "svn_cmd".

Did you mean: se_cmd
2007 Mar 08
1
cant fully capture child output
...# called from within do_work... def backup(repo) logger.info(''SvnWorker backup repo ''+repo) tmp = [] my_project = DIRS[:project_repos] + "/#{repo}" dummyfile = ''backuptmp'' temp_file = "#{DIRS[:backups]}/#{dummyfile}" svn_cmd = "svnadmin dump #{my_project} | gzip -9 > #{temp_file}" tmp << "piping to tmp" results[:txt] = tmp ### i dont get the output between here ### readme, writeme = IO.pipe pid = fork { # child $stdout = writeme readme.close exec(sv...