<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.povray.org/content?action=history&amp;feed=atom&amp;title=Reference%3AShell_Command_Options</id>
	<title>Reference:Shell Command Options - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.povray.org/content?action=history&amp;feed=atom&amp;title=Reference%3AShell_Command_Options"/>
	<link rel="alternate" type="text/html" href="https://wiki.povray.org/content?title=Reference:Shell_Command_Options&amp;action=history"/>
	<updated>2026-04-06T07:47:26Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.1</generator>
	<entry>
		<id>https://wiki.povray.org/content?title=Reference:Shell_Command_Options&amp;diff=7345&amp;oldid=prev</id>
		<title>Jholsenback: 1 revision: underscore link repair</title>
		<link rel="alternate" type="text/html" href="https://wiki.povray.org/content?title=Reference:Shell_Command_Options&amp;diff=7345&amp;oldid=prev"/>
		<updated>2012-07-17T18:09:31Z</updated>

		<summary type="html">&lt;p&gt;1 revision: underscore link repair&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 18:09, 17 July 2012&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Jholsenback</name></author>
	</entry>
	<entry>
		<id>https://wiki.povray.org/content?title=Reference:Shell_Command_Options&amp;diff=7344&amp;oldid=prev</id>
		<title>Jholsenback: still testing that theory</title>
		<link rel="alternate" type="text/html" href="https://wiki.povray.org/content?title=Reference:Shell_Command_Options&amp;diff=7344&amp;oldid=prev"/>
		<updated>2012-07-12T09:19:57Z</updated>

		<summary type="html">&lt;p&gt;still testing that theory&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 09:19, 12 July 2012&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l316&quot; &gt;Line 316:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 316:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;was doing before the shell command. The other actions depend upon the&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;was doing before the shell command. The other actions depend upon the&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;context. You may want to refer back to the animation loop sequence chart in&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;context. You may want to refer back to the animation loop sequence chart in&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;the previous section &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;!--&amp;lt;linkto &amp;quot;&lt;/del&gt;Shell Command &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Sequencing&amp;quot;&amp;gt;&lt;/del&gt;Shell Command Sequencing&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;/linkto&amp;gt;---&amp;gt;[[Reference:Shell_Command_Options#Shell_Command_Sequencing&lt;/del&gt;|Shell Command Sequencing]]. The action for&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;the previous section &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;[[Reference:&lt;/ins&gt;Shell Command &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Options#&lt;/ins&gt;Shell Command Sequencing|Shell Command Sequencing]]. The action for&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;each shell is as follows.&amp;lt;/p&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;each shell is as follows.&amp;lt;/p&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l407&quot; &gt;Line 407:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 407:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Do the &amp;lt;code&amp;gt;Post_Scene_Command&amp;lt;/code&amp;gt;, if any.&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Do the &amp;lt;code&amp;gt;Post_Scene_Command&amp;lt;/code&amp;gt;, if any.&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Exit POV-Ray with error code 0.&amp;lt;/p&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Exit POV-Ray with error code 0.&amp;lt;/p&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;p class=&amp;quot;Note&amp;quot;&amp;gt;&amp;lt;strong&amp;gt;Note:&amp;lt;/strong&amp;gt; See the [[Reference:&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Shell_Command_Options&lt;/del&gt;#&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Shell_Command_Sequencing&lt;/del&gt;|chart]], this means skip #4&amp;lt;/p&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;p class=&amp;quot;Note&amp;quot;&amp;gt;&amp;lt;strong&amp;gt;Note:&amp;lt;/strong&amp;gt; See the [[Reference:&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Shell Command Options&lt;/ins&gt;#&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Shell Command Sequencing&lt;/ins&gt;|chart]], this means skip #4&amp;lt;/p&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/td&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/td&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/tr&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/tr&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l418&quot; &gt;Line 418:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 418:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;p&amp;gt;Do no further shells, not even a &amp;lt;code&amp;gt;Post_Scene_Command&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;p&amp;gt;Do no further shells, not even a &amp;lt;code&amp;gt;Post_Scene_Command&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Exit POV-Ray with an error code 0.&amp;lt;/p&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Exit POV-Ray with an error code 0.&amp;lt;/p&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;p class=&amp;quot;Note&amp;quot;&amp;gt;&amp;lt;strong&amp;gt;Note:&amp;lt;/strong&amp;gt; See the [[Reference:&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Shell_Command_Options&lt;/del&gt;#&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Shell_Command_Sequencing&lt;/del&gt;|chart]], this means skip #6&amp;lt;/p&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;p class=&amp;quot;Note&amp;quot;&amp;gt;&amp;lt;strong&amp;gt;Note:&amp;lt;/strong&amp;gt; See the [[Reference:&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Shell Command Options&lt;/ins&gt;#&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Shell Command Sequencing&lt;/ins&gt;|chart]], this means skip #6&amp;lt;/p&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/td&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/td&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/tr&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/tr&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l439&quot; &gt;Line 439:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 439:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Do not do the &amp;lt;code&amp;gt;Post_Frame_Command&amp;lt;/code&amp;gt;.&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Do not do the &amp;lt;code&amp;gt;Post_Frame_Command&amp;lt;/code&amp;gt;.&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Proceed with the next frame.&amp;lt;/p&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Proceed with the next frame.&amp;lt;/p&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;p class=&amp;quot;Note&amp;quot;&amp;gt;&amp;lt;strong&amp;gt;Note:&amp;lt;/strong&amp;gt; See the [[Reference:&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Shell_Command_Options&lt;/del&gt;#&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Shell_Command_Sequencing&lt;/del&gt;|chart]], this means skip #4b, #4c but loop back as needed in #4d&amp;lt;/p&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;p class=&amp;quot;Note&amp;quot;&amp;gt;&amp;lt;strong&amp;gt;Note:&amp;lt;/strong&amp;gt; See the [[Reference:&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Shell Command Options&lt;/ins&gt;#&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Shell Command Sequencing&lt;/ins&gt;|chart]], this means skip #4b, #4c but loop back as needed in #4d&amp;lt;/p&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/td&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/td&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/tr&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/tr&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l451&quot; &gt;Line 451:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 451:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Do the &amp;lt;code&amp;gt;Post_Scene_Command&amp;lt;/code&amp;gt;, if any.&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Do the &amp;lt;code&amp;gt;Post_Scene_Command&amp;lt;/code&amp;gt;, if any.&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Exit POV-Ray with error code 0.&amp;lt;/p&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Exit POV-Ray with error code 0.&amp;lt;/p&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;p class=&amp;quot;Note&amp;quot;&amp;gt;&amp;lt;strong&amp;gt;Note:&amp;lt;/strong&amp;gt; See the [[Reference:&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Shell_Command_Options&lt;/del&gt;#&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Shell_Command_Sequencing&lt;/del&gt;|chart]], this means skip the rest of #4 and proceed at #5&amp;lt;/p&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;p class=&amp;quot;Note&amp;quot;&amp;gt;&amp;lt;strong&amp;gt;Note:&amp;lt;/strong&amp;gt; See the [[Reference:&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Shell Command Options&lt;/ins&gt;#&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Shell Command Sequencing&lt;/ins&gt;|chart]], this means skip the rest of #4 and proceed at #5&amp;lt;/p&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/td&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/td&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/tr&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/tr&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l473&quot; &gt;Line 473:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 473:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Do the &amp;lt;code&amp;gt;Post_Scene_Command&amp;lt;/code&amp;gt;, if any.&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Do the &amp;lt;code&amp;gt;Post_Scene_Command&amp;lt;/code&amp;gt;, if any.&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Exit POV-Ray with error code 0.&amp;lt;/p&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Exit POV-Ray with error code 0.&amp;lt;/p&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;p class=&amp;quot;Note&amp;quot;&amp;gt;&amp;lt;strong&amp;gt;Note:&amp;lt;/strong&amp;gt; See the [[Reference:&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Shell_Command_Options&lt;/del&gt;#&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Shell_Command_Sequencing&lt;/del&gt;|chart]], this means skip the rest of #4 and proceed at #5&amp;lt;/p&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;p class=&amp;quot;Note&amp;quot;&amp;gt;&amp;lt;strong&amp;gt;Note:&amp;lt;/strong&amp;gt; See the [[Reference:&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Shell Command Options&lt;/ins&gt;#&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Shell Command Sequencing&lt;/ins&gt;|chart]], this means skip the rest of #4 and proceed at #5&amp;lt;/p&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/td&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/td&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/tr&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/tr&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Jholsenback</name></author>
	</entry>
	<entry>
		<id>https://wiki.povray.org/content?title=Reference:Shell_Command_Options&amp;diff=7026&amp;oldid=prev</id>
		<title>Jholsenback: 1 revision: Reference Migration Initial Load</title>
		<link rel="alternate" type="text/html" href="https://wiki.povray.org/content?title=Reference:Shell_Command_Options&amp;diff=7026&amp;oldid=prev"/>
		<updated>2012-03-15T19:08:47Z</updated>

		<summary type="html">&lt;p&gt;1 revision: Reference Migration Initial Load&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 19:08, 15 March 2012&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Jholsenback</name></author>
	</entry>
	<entry>
		<id>https://wiki.povray.org/content?title=Reference:Shell_Command_Options&amp;diff=7025&amp;oldid=prev</id>
		<title>Jholsenback: 1 revision: Initial Load (TF)</title>
		<link rel="alternate" type="text/html" href="https://wiki.povray.org/content?title=Reference:Shell_Command_Options&amp;diff=7025&amp;oldid=prev"/>
		<updated>2012-03-11T22:12:12Z</updated>

		<summary type="html">&lt;p&gt;1 revision: Initial Load (TF)&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[Category:Command-Line and INI-File Options]]&lt;br /&gt;
&amp;lt;table width=&amp;quot;100%&amp;quot; class=&amp;quot;option-list&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td width=&amp;quot;30%&amp;quot;&amp;gt;&amp;lt;code&amp;gt;Pre_Scene_Command=&amp;lt;/code&amp;gt;s{{#indexentry:Pre_Scene_Command, ini-option}}&amp;lt;/td&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;td width=&amp;quot;70%&amp;quot;&amp;gt;Set command before entire scene&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;&amp;lt;code&amp;gt;Pre_Frame_Command=&amp;lt;/code&amp;gt;s{{#indexentry:Pre_Frame_Command, ini-option}}&amp;lt;/td&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;td&amp;gt;Set command before each frame&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;&amp;lt;code&amp;gt;Post_Scene_Command=&amp;lt;/code&amp;gt;s{{#indexentry:Post_Scene_Command, ini-option}}&amp;lt;/td&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;td&amp;gt;Set command after entire scene&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;&amp;lt;code&amp;gt;Post_Frame_Command=&amp;lt;/code&amp;gt;s{{#indexentry:Post_Frame_Command, ini-option}}&amp;lt;/td&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;td&amp;gt;Set command after each frame&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;&amp;lt;code&amp;gt;User_Abort_Command=&amp;lt;/code&amp;gt;s{{#indexentry:User_Abort_Command, ini-option}}&amp;lt;/td&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;td&amp;gt;Set command when user aborts POV-Ray&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;&amp;lt;code&amp;gt;Fatal_Error_Command=&amp;lt;/code&amp;gt;s{{#indexentry:Fatal_Error_Command, ini-option}}&amp;lt;/td&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;td&amp;gt;Set command when POV-Ray has fatal error&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p class=&amp;quot;Note&amp;quot;&amp;gt;&amp;lt;strong&amp;gt;Note:&amp;lt;/strong&amp;gt; No &amp;lt;code&amp;gt;+&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;-&amp;lt;/code&amp;gt; switches are available for&lt;br /&gt;
these options. They cannot be used from the command line. They may only be&lt;br /&gt;
used from INI files.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
POV-Ray offers you the opportunity to shell-out to the operating system at&lt;br /&gt;
several key points to execute another program or batch file. Usually this is&lt;br /&gt;
used to manage files created by the internal animation loop however the shell&lt;br /&gt;
commands are available for any scene. The string &amp;lt;em&amp;gt;s&amp;lt;/em&amp;gt; is a single line&lt;br /&gt;
of text which is passed to the operating system to execute a program. For&lt;br /&gt;
example&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Post_Scene_Command=tga2gif -d -m myfile&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;would use the utility &amp;lt;code&amp;gt;tga2gif&amp;lt;/code&amp;gt; with the &amp;lt;code&amp;gt;-D&amp;lt;/code&amp;gt; and&lt;br /&gt;
&amp;lt;code&amp;gt;-M&amp;lt;/code&amp;gt; parameters to convert &amp;lt;code&amp;gt;myfile.tga&amp;lt;/code&amp;gt; to &amp;lt;code&amp;gt;&lt;br /&gt;
myfile.gif&amp;lt;/code&amp;gt; after the scene had finished rendering.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p class=&amp;quot;Note&amp;quot;&amp;gt;&amp;lt;strong&amp;gt;Note:&amp;lt;/strong&amp;gt; Individual platforms may provide means of preventing shell-outs&lt;br /&gt;
from occurring. For example, the Windows version provides a menu command to&lt;br /&gt;
turn shell-outs off (which is the default setting for that platform). The&lt;br /&gt;
reason for this (along with file I/O restrictions) is to attempt to prevent&lt;br /&gt;
untrusted INI files from doing harm to your system.&amp;lt;/p&amp;gt;&lt;br /&gt;
==String Substitution in Shell Commands==&lt;br /&gt;
&amp;lt;p&amp;gt;It could get cumbersome to change the &amp;lt;code&amp;gt;Post_Scene_Command&amp;lt;/code&amp;gt;&lt;br /&gt;
every time you changed scene names. POV-Ray can substitute various values&lt;br /&gt;
into a command string for you. For example:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Post_Scene_Command=tga2gif -d -m %s&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;POV-Ray will substitute the &amp;lt;code&amp;gt;%s&amp;lt;/code&amp;gt; with the scene name in the&lt;br /&gt;
command. The &amp;lt;em&amp;gt;scene name&amp;lt;/em&amp;gt; is the &amp;lt;code&amp;gt;Input_File_Name&amp;lt;/code&amp;gt; or&lt;br /&gt;
&amp;lt;code&amp;gt;+I&amp;lt;/code&amp;gt; setting with any drive, directory and extension removed. For&lt;br /&gt;
example:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Input_File_Name=c:\povray3\scenes\waycool.pov&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;is stripped down to the scene name &amp;lt;code&amp;gt;waycool&amp;lt;/code&amp;gt; which results&lt;br /&gt;
in...&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Post_Scene_Command=tga2gif -d -m waycool&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;In an animation it may be necessary to have the exact output file name&lt;br /&gt;
with the frame number included. The string &amp;lt;code&amp;gt;%o&amp;lt;/code&amp;gt; will substitute&lt;br /&gt;
the output file name. Suppose you want to save your output files in a zip&lt;br /&gt;
archive using the utility program &amp;lt;code&amp;gt;pkzip&amp;lt;/code&amp;gt;. You could do...&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Post_Frame_Command=pkzip -m %s %o&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;After rendering frame 12 of &amp;lt;code&amp;gt;myscene.pov&amp;lt;/code&amp;gt; POV-Ray would shell&lt;br /&gt;
to the operating system with&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
pkzip -m myscene mysce012.tga&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;The &amp;lt;code&amp;gt;-M&amp;lt;/code&amp;gt; switch in &amp;lt;code&amp;gt;pkzip&amp;lt;/code&amp;gt; moves &amp;lt;code&amp;gt;&lt;br /&gt;
mysce012.tga&amp;lt;/code&amp;gt; to &amp;lt;code&amp;gt;myscene.zip&amp;lt;/code&amp;gt; and removes it from the&lt;br /&gt;
directory. Note that &amp;lt;code&amp;gt;%o&amp;lt;/code&amp;gt; includes frame numbers only when in an&lt;br /&gt;
animation loop. During the &amp;lt;code&amp;gt;Pre_Scene_Command&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;&lt;br /&gt;
Post_Scene_Command&amp;lt;/code&amp;gt; there is no frame number so the original,&lt;br /&gt;
unnumbered &amp;lt;code&amp;gt;Output_File_Name&amp;lt;/code&amp;gt; is used. Any &amp;lt;code&amp;gt;&lt;br /&gt;
User_Abort_Command&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;Fatal_Error_Command&amp;lt;/code&amp;gt; not inside the&lt;br /&gt;
loop will similarly give an unnumbered &amp;lt;code&amp;gt;%o&amp;lt;/code&amp;gt; substitution.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
Here is the complete list of substitutions available for a command&lt;br /&gt;
string.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table width=&amp;quot;100%&amp;quot; class=&amp;quot;option-list&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td width=&amp;quot;30%&amp;quot;&amp;gt;&amp;lt;code&amp;gt;%o&amp;lt;/code&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;td width=&amp;quot;70%&amp;quot;&amp;gt;Output file name with extension and embedded frame number if any&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;&amp;lt;code&amp;gt;%s&amp;lt;/code&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;td&amp;gt;Scene name derived by stripping path and ext from input name&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;&amp;lt;code&amp;gt;%n&amp;lt;/code&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;td&amp;gt;Frame number of this frame&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;&amp;lt;code&amp;gt;%k&amp;lt;/code&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;td&amp;gt;Clock value of this frame&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;&amp;lt;code&amp;gt;%h&amp;lt;/code&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;td&amp;gt;Height of image in pixels&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;&amp;lt;code&amp;gt;%w&amp;lt;/code&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;td&amp;gt;Width of image in pixels&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;&amp;lt;code&amp;gt;%%&amp;lt;/code&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;td&amp;gt;A single % sign.&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Shell Command Sequencing==&lt;br /&gt;
&amp;lt;p&amp;gt;Here is the sequence of events in an animation loop. Non-animated scenes&lt;br /&gt;
work the exact same way except there is no loop.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Process all INI file keywords and command line switches just once.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Open any text output streams and do Create_INI if any.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Execute Pre_Scene_Command if any.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Loop through frames (or just do once on non-animation).&lt;br /&gt;
&amp;lt;ol type=&amp;quot;a&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Execute Pre_Frame_Command if any.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Parse entire scene file, open output file and read settings, turn on&lt;br /&gt;
  display, render the frame, destroy all objects, textures etc., close output&lt;br /&gt;
  file, close display.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Execute Post_Frame_Command if any.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Repeat above steps until all frames are done.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Execute Post_Scene_Command if any.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Finish&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;If the user interrupts processing the &amp;lt;code&amp;gt;User_Abort_Command&amp;lt;/code&amp;gt;, if&lt;br /&gt;
any, is executed. User aborts can only occur during the parsing and rendering&lt;br /&gt;
parts of step (4b) above. If a fatal error occurs that POV-Ray notices the&lt;br /&gt;
&amp;lt;code&amp;gt;Fatal_Error_Command&amp;lt;/code&amp;gt;, if any, is executed. Sometimes an&lt;br /&gt;
unforeseen bug or memory error could cause a total crash of the program in&lt;br /&gt;
which case there is no chance to shell out. Fatal errors can occur just about&lt;br /&gt;
anywhere including during the processing of switches or INI files. If a fatal&lt;br /&gt;
error occurs before POV-Ray has read the &amp;lt;code&amp;gt; Fatal_Error_Command&amp;lt;/code&amp;gt;&lt;br /&gt;
string then obviously no shell can occur.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;Note&amp;quot;&amp;gt;&amp;lt;strong&amp;gt;Note:&amp;lt;/strong&amp;gt; The entire scene is re-parsed for every frame. Future versions of&lt;br /&gt;
POV-Ray may allow you to hold over parts of a scene from one frame to the&lt;br /&gt;
next but for now it starts from scratch every time.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;Note&amp;quot;&amp;gt;&amp;lt;strong&amp;gt;Note:&amp;lt;/strong&amp;gt; The &amp;lt;code&amp;gt;Pre_Frame_Command&amp;lt;/code&amp;gt; occurs before the&lt;br /&gt;
scene is parsed. You might use this to call some custom scene generation utility &lt;br /&gt;
before each frame. This utility could rewrite your &amp;lt;code&amp;gt; .pov&amp;lt;/code&amp;gt;&lt;br /&gt;
or &amp;lt;code&amp;gt;.inc&amp;lt;/code&amp;gt; files if needed. Perhaps you will want to generate new&lt;br /&gt;
&amp;lt;code&amp;gt;.gif&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;.tga&amp;lt;/code&amp;gt; files for image maps or height fields on each frame.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Shell Command Return Actions==&lt;br /&gt;
&amp;lt;table width=&amp;quot;100%&amp;quot; class=&amp;quot;option-list&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td width=&amp;quot;30%&amp;quot;&amp;gt;&amp;lt;code&amp;gt;Pre_Scene_Return=&amp;lt;/code&amp;gt;s{{#indexentry:Pre_Scene_Return}}&amp;lt;/td&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;td width=&amp;quot;70%&amp;quot;&amp;gt;Set pre scene return actions&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;&amp;lt;code&amp;gt;Pre_Frame_Return=&amp;lt;/code&amp;gt;s{{#indexentry:Pre_Frame_Return}}&amp;lt;/td&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;td&amp;gt;Set pre frame return actions&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;&amp;lt;code&amp;gt;Post_Scene_Return=&amp;lt;/code&amp;gt;s{{#indexentry:Post_Scene_Return}}&amp;lt;/td&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;td&amp;gt;Set post scene return actions&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;&amp;lt;code&amp;gt;Post_Frame_Return=&amp;lt;/code&amp;gt;s{{#indexentry:Post_Frame_Return}}&amp;lt;/td&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;td&amp;gt;Set post frame return actions&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;&amp;lt;code&amp;gt;User_Abort_Return=&amp;lt;/code&amp;gt;s{{#indexentry:User_Abort_Return}}&amp;lt;/td&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;td&amp;gt;Set user abort return actions&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;&amp;lt;code&amp;gt;Fatal_Error_Return=&amp;lt;/code&amp;gt;s{{#indexentry:Fatal_Error_Return}}&amp;lt;/td&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;td&amp;gt;Set fatal return actions&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p class=&amp;quot;Note&amp;quot;&amp;gt;&amp;lt;strong&amp;gt;Note:&amp;lt;/strong&amp;gt; No &amp;lt;code&amp;gt;+&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;-&amp;lt;/code&amp;gt; switches are available for&lt;br /&gt;
these options. They cannot be used from the command line. They may only be&lt;br /&gt;
used from INI files.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
Most operating systems allow application programs to return an error code if&lt;br /&gt;
something goes wrong. When POV-Ray executes a shell command it can make use&lt;br /&gt;
of this error code returned from the shell process and take some appropriate&lt;br /&gt;
action if the code is zero or non-zero. POV-Ray itself returns such codes. It&lt;br /&gt;
returns 0 for success, 1 for fatal error and 2 for user abort.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
The actions are designated by a single letter in the different &amp;lt;code&amp;gt;&lt;br /&gt;
..._Return&amp;lt;/code&amp;gt;=s options. The possible actions are:&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table width=&amp;quot;100%&amp;quot; class=&amp;quot;option-list&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td width=&amp;quot;30%&amp;quot;&amp;gt;&amp;lt;code&amp;gt;I&amp;lt;/code&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;td width=&amp;quot;70%&amp;quot;&amp;gt;ignore the code&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;&amp;lt;code&amp;gt;S&amp;lt;/code&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;td&amp;gt;skip one step&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;&amp;lt;code&amp;gt;A&amp;lt;/code&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;td&amp;gt;all steps skipped&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;&amp;lt;code&amp;gt;Q&amp;lt;/code&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;td&amp;gt;quit POV-Ray immediately&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;&amp;lt;code&amp;gt;U&amp;lt;/code&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;td&amp;gt;generate a user abort in POV-Ray&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;&amp;lt;code&amp;gt;F&amp;lt;/code&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;td&amp;gt;generate a fatal error in POV-Ray&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;For example if your &amp;lt;code&amp;gt;Pre_Frame_Command&amp;lt;/code&amp;gt; calls a program which&lt;br /&gt;
generates your height field data and that utility fails then it will return a&lt;br /&gt;
non-zero code. We would probably want POV-Ray to abort as well. The option&lt;br /&gt;
&amp;lt;code&amp;gt;Pre_Frame_Return=F&amp;lt;/code&amp;gt; will cause POV-Ray to do a fatal abort if the&lt;br /&gt;
&amp;lt;code&amp;gt;Pre_Frame_Command&amp;lt;/code&amp;gt; returns a non-zero code.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
Sometimes a non-zero code from the external process is a good thing. Suppose&lt;br /&gt;
you want to test if a frame has already been rendered. You could use the&lt;br /&gt;
&amp;lt;code&amp;gt;S&amp;lt;/code&amp;gt; action to skip this frame if the file is already rendered.&lt;br /&gt;
Most utilities report an error if the file is not found. For example the&lt;br /&gt;
command...&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
pkzip -V myscene mysce012.tga&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;tells pkzip you want to view the catalog of &amp;lt;code&amp;gt;myscene.zip&amp;lt;/code&amp;gt; for&lt;br /&gt;
the file &amp;lt;code&amp;gt;mysce012.tga&amp;lt;/code&amp;gt;. If the file is not in the archive&lt;br /&gt;
&amp;lt;code&amp;gt;pkzip&amp;lt;/code&amp;gt; returns a non-zero code.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
However we want to skip if the file is found. Therefore we need to reverse&lt;br /&gt;
the action so it skips on zero and does not skip on non-zero. To reverse&lt;br /&gt;
the zero vs. non-zero triggering of an action precede it with a&lt;br /&gt;
&amp;amp;quot;&amp;lt;code&amp;gt;-&amp;lt;/code&amp;gt;&amp;amp;quot; sign (note a &amp;amp;quot;&amp;lt;code&amp;gt;!&amp;lt;/code&amp;gt;&amp;amp;quot; will also&lt;br /&gt;
work since it is used in many programming languages as a negate&lt;br /&gt;
operator).&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
&amp;lt;code&amp;gt;Pre_Frame_Return=S&amp;lt;/code&amp;gt; will skip if the code shows error&lt;br /&gt;
(non-zero) and will proceed normally on no error (zero). &amp;lt;code&amp;gt;&lt;br /&gt;
Pre_Frame_Return=-S&amp;lt;/code&amp;gt; will skip if there is no error (zero) and will&lt;br /&gt;
proceed normally if there is an error (non-zero).&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
The default for all shells is &amp;lt;code&amp;gt;I&amp;lt;/code&amp;gt; which means that the return&lt;br /&gt;
action is ignored no matter what. POV-Ray simply proceeds with whatever it&lt;br /&gt;
was doing before the shell command. The other actions depend upon the&lt;br /&gt;
context. You may want to refer back to the animation loop sequence chart in&lt;br /&gt;
the previous section &amp;lt;!--&amp;lt;linkto &amp;quot;Shell Command Sequencing&amp;quot;&amp;gt;Shell Command Sequencing&amp;lt;/linkto&amp;gt;---&amp;gt;[[Reference:Shell_Command_Options#Shell_Command_Sequencing|Shell Command Sequencing]]. The action for&lt;br /&gt;
each shell is as follows.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;On return from any &amp;lt;code&amp;gt;User_Abort_Command&amp;lt;/code&amp;gt;:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;If there is an action triggered...&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table width=&amp;quot;100%&amp;quot; class=&amp;quot;option-list&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td width=&amp;quot;30%&amp;quot;&amp;gt;&amp;lt;strong&amp;gt;Specified Action:&amp;lt;/strong&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td width=&amp;quot;70%&amp;quot;&amp;gt;&amp;lt;strong&amp;gt;Results:&amp;lt;/strong&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;&amp;lt;code&amp;gt;F&amp;lt;/code&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;td&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Turn this user abort into a fatal error.&amp;lt;br&amp;gt;&lt;br /&gt;
Do the &amp;lt;code&amp;gt;Fatal_Error_Command&amp;lt;/code&amp;gt;, if any.&amp;lt;br&amp;gt;&lt;br /&gt;
Exit POV-Ray with error code 1.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;&amp;lt;code&amp;gt;S&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;A&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;Q&amp;lt;/code&amp;gt;, or &amp;lt;code&amp;gt;U&amp;lt;/code&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;td&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Proceed with the user abort.&amp;lt;br&amp;gt;&lt;br /&gt;
Exit POV-Ray with error code 2.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;On return from any &amp;lt;code&amp;gt;Fatal_Error_Command&amp;lt;/code&amp;gt;:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;POV-Ray will proceed with the fatal error no matter what. It will exit POV-Ray with error code 1.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;On return from any &amp;lt;code&amp;gt;Pre_Scene_Command&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;Pre_Frame_Command&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;Post_Frame_Command&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;Post_Scene_Commands&amp;lt;/code&amp;gt;:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;If there is an action triggered...&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table width=&amp;quot;100%&amp;quot; class=&amp;quot;option-list&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td width=&amp;quot;30%&amp;quot;&amp;gt;&amp;lt;strong&amp;gt;Specified Action:&amp;lt;/strong&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td width=&amp;quot;70%&amp;quot;&amp;gt;&amp;lt;strong&amp;gt;Results:&amp;lt;/strong&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;&amp;lt;code&amp;gt;F&amp;lt;/code&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;td&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Turn this user abort into a fatal error.&amp;lt;br&amp;gt;&lt;br /&gt;
Do the &amp;lt;code&amp;gt;Fatal_Error_Command&amp;lt;/code&amp;gt;, if any.&amp;lt;br&amp;gt;&lt;br /&gt;
Exit POV-Ray with error code 1.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;&amp;lt;code&amp;gt;U&amp;lt;/code&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;td&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Generate a user abort.&amp;lt;br&amp;gt;&lt;br /&gt;
Do the &amp;lt;code&amp;gt;User_Abort_Command&amp;lt;/code&amp;gt;, if any.&amp;lt;br&amp;gt;&lt;br /&gt;
Exit POV-Ray with an error code 2.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;&amp;lt;code&amp;gt;Q&amp;lt;/code&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;td&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Quit POV-Ray immediately. Acts as though POV-Ray never really ran.&amp;lt;br&amp;gt;&lt;br /&gt;
Do no further shells, not even a &amp;lt;code&amp;gt;Post_Scene_Command&amp;lt;/code&amp;gt;.&amp;lt;br&amp;gt;&lt;br /&gt;
Exit POV-Ray with an error code 0.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;On return from a &amp;lt;code&amp;gt;Pre_Scene_Command&amp;lt;/code&amp;gt;:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;If there is an action triggered...&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table width=&amp;quot;100%&amp;quot; class=&amp;quot;option-list&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td width=&amp;quot;30%&amp;quot;&amp;gt;&amp;lt;strong&amp;gt;Specified Action:&amp;lt;/strong&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td width=&amp;quot;70%&amp;quot;&amp;gt;&amp;lt;strong&amp;gt;Results:&amp;lt;/strong&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;&amp;lt;code&amp;gt;S&amp;lt;/code&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;td&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Skip rendering all frames. Acts as though the scene completed all frames normally.&amp;lt;br&amp;gt;&lt;br /&gt;
Do not do any &amp;lt;code&amp;gt;Pre_Frame_Command&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;Post_Frame_Commands&amp;lt;/code&amp;gt;.&amp;lt;br&amp;gt;&lt;br /&gt;
Do the &amp;lt;code&amp;gt;Post_Scene_Command&amp;lt;/code&amp;gt;, if any.&amp;lt;br&amp;gt;&lt;br /&gt;
Exit POV-Ray with error code 0.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;Note&amp;quot;&amp;gt;&amp;lt;strong&amp;gt;Note:&amp;lt;/strong&amp;gt; See the [[Reference:Shell_Command_Options#Shell_Command_Sequencing|chart]], this means skip #4&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;&amp;lt;code&amp;gt;A&amp;lt;/code&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;td&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Skip all scene activity. Works exactly like &amp;lt;code&amp;gt;Q&amp;lt;/code&amp;gt; quit. Acts as though POV-Ray never really ran.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Do no further shells, not even a &amp;lt;code&amp;gt;Post_Scene_Command&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Exit POV-Ray with an error code 0.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;Note&amp;quot;&amp;gt;&amp;lt;strong&amp;gt;Note:&amp;lt;/strong&amp;gt; See the [[Reference:Shell_Command_Options#Shell_Command_Sequencing|chart]], this means skip #6&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;On return from a &amp;lt;code&amp;gt;Pre_Frame_Command&amp;lt;/code&amp;gt;:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;If there is an action triggered...&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table width=&amp;quot;100%&amp;quot; class=&amp;quot;option-list&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td width=&amp;quot;30%&amp;quot;&amp;gt;&amp;lt;strong&amp;gt;Specified Action:&amp;lt;/strong&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td width=&amp;quot;70%&amp;quot;&amp;gt;&amp;lt;strong&amp;gt;Results:&amp;lt;/strong&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;&amp;lt;code&amp;gt;S&amp;lt;/code&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;td&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Skip only this frame. Acts as though this frame never existed.&amp;lt;br&amp;gt;&lt;br /&gt;
Do not do the &amp;lt;code&amp;gt;Post_Frame_Command&amp;lt;/code&amp;gt;.&amp;lt;br&amp;gt;&lt;br /&gt;
Proceed with the next frame.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;Note&amp;quot;&amp;gt;&amp;lt;strong&amp;gt;Note:&amp;lt;/strong&amp;gt; See the [[Reference:Shell_Command_Options#Shell_Command_Sequencing|chart]], this means skip #4b, #4c but loop back as needed in #4d&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;&amp;lt;code&amp;gt;A&amp;lt;/code&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;td&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Skip rendering this frame and all remaining frames. Acts as though the scene completed all frames normally.&amp;lt;br&amp;gt;&lt;br /&gt;
Do not do any further &amp;lt;code&amp;gt;Post_Frame_Commands&amp;lt;/code&amp;gt;.&amp;lt;br&amp;gt;&lt;br /&gt;
Do the &amp;lt;code&amp;gt;Post_Scene_Command&amp;lt;/code&amp;gt;, if any.&amp;lt;br&amp;gt;&lt;br /&gt;
Exit POV-Ray with error code 0.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;Note&amp;quot;&amp;gt;&amp;lt;strong&amp;gt;Note:&amp;lt;/strong&amp;gt; See the [[Reference:Shell_Command_Options#Shell_Command_Sequencing|chart]], this means skip the rest of #4 and proceed at #5&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;On return from a &amp;lt;code&amp;gt;Post_Frame_Command&amp;lt;/code&amp;gt;:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;If there is an action triggered...&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table width=&amp;quot;100%&amp;quot; class=&amp;quot;option-list&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td width=&amp;quot;30%&amp;quot;&amp;gt;&amp;lt;strong&amp;gt;Specified Action:&amp;lt;/strong&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td width=&amp;quot;70%&amp;quot;&amp;gt;&amp;lt;strong&amp;gt;Results:&amp;lt;/strong&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;&amp;lt;code&amp;gt;S&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;A&amp;lt;/code&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;td&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Skip all remaining frames. Acts as though the scene completed all frames normally.&amp;lt;br&amp;gt;&lt;br /&gt;
Do not do any further &amp;lt;code&amp;gt;Post_Frame_Commands&amp;lt;/code&amp;gt;.&amp;lt;br&amp;gt;&lt;br /&gt;
Do the &amp;lt;code&amp;gt;Post_Scene_Command&amp;lt;/code&amp;gt;, if any.&amp;lt;br&amp;gt;&lt;br /&gt;
Exit POV-Ray with error code 0.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;Note&amp;quot;&amp;gt;&amp;lt;strong&amp;gt;Note:&amp;lt;/strong&amp;gt; See the [[Reference:Shell_Command_Options#Shell_Command_Sequencing|chart]], this means skip the rest of #4 and proceed at #5&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;On return from any &amp;lt;code&amp;gt;Post_Scene_Command&amp;lt;/code&amp;gt;:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;If there is an action triggered and you have specified &amp;lt;code&amp;gt;S&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;A&amp;lt;/code&amp;gt; then no special action occurs. This is the same as &amp;lt;code&amp;gt;I&amp;lt;/code&amp;gt; for this shell command.&amp;lt;/p&amp;gt;&lt;/div&gt;</summary>
		<author><name>Jholsenback</name></author>
	</entry>
</feed>