<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Java exec in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/java-exec/m-p/246916#M200046</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanx all. I will try ur suggestions&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 05 Apr 2011 03:45:59 GMT</pubDate>
    <dc:creator>longdistance</dc:creator>
    <dc:date>2011-04-05T03:45:59Z</dc:date>
    <item>
      <title>Java exec</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/java-exec/m-p/246912#M200042</link>
      <description>Can we run java "exec" from alfresco?Thanx</description>
      <pubDate>Wed, 30 Mar 2011 01:04:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/java-exec/m-p/246912#M200042</guid>
      <dc:creator>longdistance</dc:creator>
      <dc:date>2011-03-30T01:04:45Z</dc:date>
    </item>
    <item>
      <title>Re: Java exec</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/java-exec/m-p/246913#M200043</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Is this what you're looking for?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://dev.alfresco.com/resource/docs/java/core/org/alfresco/util/exec/RuntimeExecBootstrapBean.html" rel="nofollow noopener noreferrer"&gt;Java Runtime&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps &amp;amp; good luck.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 02 Apr 2011 16:10:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/java-exec/m-p/246913#M200043</guid>
      <dc:creator>netqueen33</dc:creator>
      <dc:date>2011-04-02T16:10:20Z</dc:date>
    </item>
    <item>
      <title>Re: Java exec</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/java-exec/m-p/246914#M200044</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It's a bit difficult to understand what you're looking for, but I will try.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Probably what you need is:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://dev.alfresco.com/resource/docs/java/core/org/alfresco/util/exec/RuntimeExec.html" rel="nofollow noopener noreferrer"&gt;http://dev.alfresco.com/resource/docs/java/core/org/alfresco/util/exec/RuntimeExec.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There are useful examples inside the Alfresco code. You can start studying how it is used inside the class:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://dev.alfresco.com/resource/docs/java/repository/org/alfresco/repo/content/transform/magick/ImageMagickContentTransformerWorker.html" rel="nofollow noopener noreferrer"&gt;http://dev.alfresco.com/resource/docs/java/repository/org/alfresco/repo/content/transform/magick/ImageMagickContentTransformerWorker.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The class is instantiated and injected using Spring. Have a look at:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;alfresco/WEB-INF/classes/alfresco/subsystems/thirdparty/default/imagemagick-transform-context.xml&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 03 Apr 2011 21:27:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/java-exec/m-p/246914#M200044</guid>
      <dc:creator>marco_altieri</dc:creator>
      <dc:date>2011-04-03T21:27:29Z</dc:date>
    </item>
    <item>
      <title>Re: Java exec</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/java-exec/m-p/246915#M200045</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you are using this command, just to know there are some bugs with Alfresco 3.4D if you start some programs :&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;Process proc = Runtime.getRuntime().exec(commands);&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;A href="http://forums.alfresco.com/en/viewtopic.php?f=10&amp;amp;t=37976#p111080" rel="nofollow noopener noreferrer"&gt;http://forums.alfresco.com/en/viewtopic.php?f=10&amp;amp;t=37976#p111080&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Apr 2011 05:42:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/java-exec/m-p/246915#M200045</guid>
      <dc:creator>dranakan</dc:creator>
      <dc:date>2011-04-04T05:42:39Z</dc:date>
    </item>
    <item>
      <title>Re: Java exec</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/java-exec/m-p/246916#M200046</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanx all. I will try ur suggestions&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Apr 2011 03:45:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/java-exec/m-p/246916#M200046</guid>
      <dc:creator>longdistance</dc:creator>
      <dc:date>2011-04-05T03:45:59Z</dc:date>
    </item>
    <item>
      <title>Re: Java exec</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/java-exec/m-p/246917#M200047</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;In Java, this means employing the Runtime class exec() method. Like the fork(3) C function, Runtime.exec() allows you to execute a program; unlike fork(), it does not allow you to directly control the environment. Runtime.exec() provides a simple interface to platform-dependent utilities and applications, although at the expense of platform independence. In an environment where Java applications must coexist with other non-Java applications this will often be a valid trade-off.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In its simplest form, exec() is quite easy to use:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;Process p = Runtime.getRuntime().exec("/bin/ls");&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Apr 2011 07:07:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/java-exec/m-p/246917#M200047</guid>
      <dc:creator>medicalallan</dc:creator>
      <dc:date>2011-04-07T07:07:22Z</dc:date>
    </item>
  </channel>
</rss>

