<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	>
<channel>
	<title>Comments on: ProcessBuilder and quotes</title>
	<atom:link href="http://blog.krecan.net/2008/02/09/processbuilder-and-quotes/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.krecan.net/2008/02/09/processbuilder-and-quotes/</link>
	<description>Short remarks from Java world</description>
	<pubDate>Wed, 07 Jan 2009 03:28:59 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Seth Tisue</title>
		<link>http://blog.krecan.net/2008/02/09/processbuilder-and-quotes/comment-page-1/#comment-547</link>
		<dc:creator>Seth Tisue</dc:creator>
		<pubDate>Wed, 20 Aug 2008 14:20:49 +0000</pubDate>
		<guid isPermaLink="false">http://blog.krecan.net/2008/02/09/processbuilder-and-quotes/#comment-547</guid>
		<description>The purpose of the quotes was to prevent characters like * from being interpreted specially by the shell. Only the shell sees the quotes; the shell strips them out before passing the arguments to the rsync command.

But ProcessBuilder doesn't use a shell; it runs the command directly. Since there's no shell involved, the quotes aren't needed, and if you include them, they will not be stripped out, causing the rsync command to become confused about your intentions.

Why it would have worked on Windows with the quotes, I don't know.</description>
		<content:encoded><![CDATA[<p>The purpose of the quotes was to prevent characters like * from being interpreted specially by the shell. Only the shell sees the quotes; the shell strips them out before passing the arguments to the rsync command.</p>
<p>But ProcessBuilder doesn&#8217;t use a shell; it runs the command directly. Since there&#8217;s no shell involved, the quotes aren&#8217;t needed, and if you include them, they will not be stripped out, causing the rsync command to become confused about your intentions.</p>
<p>Why it would have worked on Windows with the quotes, I don&#8217;t know.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
