title: monitoring an exe application launching
body: <p>I need to monitor an console exe application which don't have any stdin from the user it only print some info  to the screen i used a POE:Wheel for this task</p>
  
  <p>Below are my code:</p>
  
  <pre><code>use POE qw( Wheel::Run);
  
      POE::Session-&gt;create(
        inline_states =&gt; {
           _start =&gt; sub {
              my ($heap) = $_[HEAP];
  
              my $run    = POE::Wheel::Run-&gt;new(
                  Program      =&gt; "my_program.exe",
                  StdoutEvent  =&gt; "print"
              );
  
  
              $heap-&gt;{run}  = $run   ;
  
           },
  
           print =&gt; sub {print "somthing";}
        }
      );
  $poe_kernel-&gt;run(  );
  </code></pre>
  
  <p>When i run the above code/script and  run the my_program.exe i didn't see any print on the screen
  could someone tell what could be my problem here .</p>