Continued problems with spaces

From: Beau Dwyer <quotidian_at_gmail.com>
Date: Mon, 18 Jan 2010 21:34:25 +1100

Hi,

I am still experiencing issues with spaces despite the fix in 0.5.9.

I have tried 0.5.9 from the download page, and even the latest SVN.

my entry looks like this /RAID/TV/Top\ Gear/Season\ 14/
IN_CLOSE_WRITE,IN_MOVED_TO python /home/beau/processtv/updater.py "$@"

The log entry for it looks fine.
Jan 18 21:30:38 MediaBox incrond[3040]: (beau) CMD (python
/home/beau/processtv/updater.py "/RAID/TV/Top Gear/Season 14/")

But when I check the script itself it is being called.
python /home/beau/processtv/updater.py /RAID/TV/Top Gear/Season 14/
(Note the lack of quote marks (")

This causes a problem as the script then only sees the part before the space
as the first variable. So it is as if the script was called.
python /home/beau/processtv/updater.py /RAID/TV/Top

Is there a solution for this?

I also receive the following errors during build (with 0.5.8 onwards)

usertable.cpp: In member function âvoid UserTable::OnEvent(InotifyEvent&)â:
usertable.cpp:352: warning: ignoring return value of âint asprintf(char**,
const char*, ...)â, declared with attribute warn_unused_result

Regards,
Beau
Received on Tue Jun 05 2012 - 22:14:21 CEST

This archive was generated by hypermail 2.2.0 : Tue Jun 05 2012 - 22:14:21 CEST