Thanks a lot. These seem to be useful starting points. But my main goal is to do this on a constant basis (ie. not having to look my process up in the table manually every time rather do it automatically from the script) and having a look at the Win32::Process module it seems to me that if I open the process that way I won't have handles to the STDIN and STDOUT of the process, while if I open it through Open2 (as I do currently) there is not a Win32::Process object on which I can perform $ProcessObj->SetPriorityClass($class). There seems to be no method for creating a Win32::Process object from a pid.
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.
|