How to debug failing Kernel.system call
- From: "Ball, Donald A Jr (Library)" <donald.ball@xxxxxxxxxxxxx>
- Date: Mon, 12 Nov 2007 16:31:24 -0500
Hi folks. I've got a simple Kernel.system call which is failing:
system('svn', 'commit', '-q', '--non-interactive', '--message', 'File updated by dball', 'reports/2007-11-11.txt')
with exit code 256. When I run this from the command line, wrapping the final two parameters in double quotes, it runs fine. Any suggestions for what I may be doing wrong or where to look for debugging inspiration?
I'm on a win32 box, fwiw, running ruby-1.8.5. Do I need to be manually quoting the parameters to system? (Docs and previous experience suggest not, but I've been wrong before.)
- donald
.
- Follow-Ups:
- Re: How to debug failing Kernel.system call
- From: Alex Shulgin
- Re: How to debug failing Kernel.system call
- Prev by Date: Re: newbie stuck with multiple conditions
- Next by Date: Re: alias_method :tap, :affect
- Previous by thread: Open URI and web scraping...
- Next by thread: Re: How to debug failing Kernel.system call
- Index(es):
Relevant Pages
|