<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Using -batch command]]></title><description><![CDATA[<p>Hello world,</p>
<p>I'm trying to open a pd file on the command line using the option <strong>-batch</strong> to run it off-line. I've tried with pd-extended 0.43.4 and pd 0.47 in OS X 10.8.5 but I don't know where I have to put the -batch option in the text line.</p>
<p>I've tried before and after the -open instruction:<br />
<em>/Users/x/Desktop/Pd-0.47-1-64bit.app/Contents/MacOS/Pd <strong>-batch</strong> -open /Users/x/Desktop/y.pd</em></p>
<p><em>/Users/x/Desktop/Pd-0.47-1-64bit.app/Contents/MacOS/Pd -open <strong>-batch</strong> /Users/x/Desktop/y.pd</em></p>
<p>after the pd file route:<br />
<em>/Users/x/Desktop/Pd-0.47-1-64bit.app/Contents/MacOS/Pd -open /Users/x/Desktop/y.pd <strong>-batch</strong></em></p>
<p>and replacing the -open instruction with the -batch one:<br />
<em>/Users/x/Desktop/Pd-0.47-1-64bit.app/Contents/MacOS/Pd <strong>-batch</strong> /Users/x/Desktop/y.pd</em></p>
<p>The response is always &quot;unknown option&quot;.</p>
<p>Thank you, any advice is appreciated.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/10662/using-batch-command</link><generator>RSS for Node</generator><lastBuildDate>Sun, 12 Jul 2026 14:54:50 GMT</lastBuildDate><atom:link href="http://forum.pdpatchrepo.info/topic/10662.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 07 Apr 2017 11:03:23 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Using -batch command on Fri, 07 Apr 2017 11:03:23 GMT]]></title><description><![CDATA[<p>Hello world,</p>
<p>I'm trying to open a pd file on the command line using the option <strong>-batch</strong> to run it off-line. I've tried with pd-extended 0.43.4 and pd 0.47 in OS X 10.8.5 but I don't know where I have to put the -batch option in the text line.</p>
<p>I've tried before and after the -open instruction:<br />
<em>/Users/x/Desktop/Pd-0.47-1-64bit.app/Contents/MacOS/Pd <strong>-batch</strong> -open /Users/x/Desktop/y.pd</em></p>
<p><em>/Users/x/Desktop/Pd-0.47-1-64bit.app/Contents/MacOS/Pd -open <strong>-batch</strong> /Users/x/Desktop/y.pd</em></p>
<p>after the pd file route:<br />
<em>/Users/x/Desktop/Pd-0.47-1-64bit.app/Contents/MacOS/Pd -open /Users/x/Desktop/y.pd <strong>-batch</strong></em></p>
<p>and replacing the -open instruction with the -batch one:<br />
<em>/Users/x/Desktop/Pd-0.47-1-64bit.app/Contents/MacOS/Pd <strong>-batch</strong> /Users/x/Desktop/y.pd</em></p>
<p>The response is always &quot;unknown option&quot;.</p>
<p>Thank you, any advice is appreciated.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/10662/using-batch-command</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/10662/using-batch-command</guid><dc:creator><![CDATA[MartiS]]></dc:creator><pubDate>Fri, 07 Apr 2017 11:03:23 GMT</pubDate></item><item><title><![CDATA[Reply to Using -batch command on Fri, 07 Apr 2017 12:46:16 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/martis">@MartiS</a> -batch is definitely a switch for the application... so should follow the application name.<br />
Have you any spaces in your user name or Pd filename?</p>
<p>You could try.......<br />
open -b x/y/z/Pd-0.47-1-64bit.app/Contents/MacOS/Pd --args -batch -open /Users/x/Desktop/y.pd<br />
where x/y/z is the path to the app..... but you might need quotes around &quot;x/y........ -batch&quot; for it to be treated as one operation?</p>
<p>or if Pd is &quot;installed&quot;</p>
<p>open -a &quot;Pd&quot; --args -batch -open /Users/x/Desktop/y.pd<br />
where Pd is the name of the Pd app (maybe just Pd).........(keep the quotation marks).....</p>
<p>If one of those does not work then try removing the  -b switch from the first one..<br />
David.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/10662/using-batch-command/2</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/10662/using-batch-command/2</guid><dc:creator><![CDATA[whale-av]]></dc:creator><pubDate>Fri, 07 Apr 2017 12:46:16 GMT</pubDate></item><item><title><![CDATA[Reply to Using -batch command on Fri, 28 Apr 2017 09:59:50 GMT]]></title><description><![CDATA[<p>Hello!<br />
First of all, thank you for your advice! I've tried with this command:<br />
<em>open -a &quot;/x/y/z/Pd-0.47-1-64bit.app/Contents/MacOS/Pd&quot; --args -batch -open /x/y/z/patch.pd</em> because with <em>open -b ...</em> it says error. With this opens PureData but the application freezes and I have to force quit. I've tried with a very simple patch (loadbang, delay of 5000 ms and quit pd message) and it doesn't work either...</p>
<p>What can I do?</p>
<p>Thank you again!</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/10662/using-batch-command/3</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/10662/using-batch-command/3</guid><dc:creator><![CDATA[MartiS]]></dc:creator><pubDate>Fri, 28 Apr 2017 09:59:50 GMT</pubDate></item><item><title><![CDATA[Reply to Using -batch command on Fri, 28 Apr 2017 10:56:16 GMT]]></title><description><![CDATA[<p>PROBLEM SOLVED!<br />
The pure data app adress was wrong. This is the correct one:<br />
<em>/x/y/z/Pd-0.47-1-64bit.app/Contents/<strong>Resources/bin/pd</strong> -batch /x/y/z/patch.pd</em></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/10662/using-batch-command/4</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/10662/using-batch-command/4</guid><dc:creator><![CDATA[MartiS]]></dc:creator><pubDate>Fri, 28 Apr 2017 10:56:16 GMT</pubDate></item></channel></rss>