<?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 Problem launching windows console application using createprocess from mpi lunched console application in Intel® MPI Library</title>
    <link>https://community.intel.com/t5/Intel-MPI-Library/Problem-launching-windows-console-application-using/m-p/996898#M3656</link>
    <description>&lt;P&gt;All,&lt;/P&gt;

&lt;P&gt;I have a working console application(&amp;nbsp;call myApp)&amp;nbsp;which is launched using mpiexec on windows 2008server.&amp;nbsp; It works fine. However I am now adding a feature where in I want to launch a new application(call childapp) from my application. I am using Windows function "CreateProcess", If the childapp is , hnotpad it launches fine, however if it is a console application like cmd.exe or my "childapp" it doesn't work, the createprocess call succeeds in all cases. If I give a wrong path etc. createprocess calls fails appropriately.&amp;nbsp;&amp;nbsp; Similar code calling createprocess works in a test client application&amp;nbsp;(not run through mpiexec,&amp;nbsp;did not try&amp;nbsp;that).&amp;nbsp;This test client&amp;nbsp;aunches childapp successfully.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Are there any restrictions calling createProcess, any special flags needed in the above scenario? Pl. advise.&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Thu, 10 Jul 2014 19:52:22 GMT</pubDate>
    <dc:creator>Tushar_S_1</dc:creator>
    <dc:date>2014-07-10T19:52:22Z</dc:date>
    <item>
      <title>Problem launching windows console application using createprocess from mpi lunched console application</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Problem-launching-windows-console-application-using/m-p/996898#M3656</link>
      <description>&lt;P&gt;All,&lt;/P&gt;

&lt;P&gt;I have a working console application(&amp;nbsp;call myApp)&amp;nbsp;which is launched using mpiexec on windows 2008server.&amp;nbsp; It works fine. However I am now adding a feature where in I want to launch a new application(call childapp) from my application. I am using Windows function "CreateProcess", If the childapp is , hnotpad it launches fine, however if it is a console application like cmd.exe or my "childapp" it doesn't work, the createprocess call succeeds in all cases. If I give a wrong path etc. createprocess calls fails appropriately.&amp;nbsp;&amp;nbsp; Similar code calling createprocess works in a test client application&amp;nbsp;(not run through mpiexec,&amp;nbsp;did not try&amp;nbsp;that).&amp;nbsp;This test client&amp;nbsp;aunches childapp successfully.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Are there any restrictions calling createProcess, any special flags needed in the above scenario? Pl. advise.&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 10 Jul 2014 19:52:22 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Problem-launching-windows-console-application-using/m-p/996898#M3656</guid>
      <dc:creator>Tushar_S_1</dc:creator>
      <dc:date>2014-07-10T19:52:22Z</dc:date>
    </item>
  </channel>
</rss>

