Problems when calling strings from other methods
<p>I have a declared a String with the class as follows:</p>

<pre><code>public static String nixprocessvalue;
</code></pre>

<p>I assign some data to the string with this method:</p>

<pre><code>public static void GetStatsNix(String operation)
{

    String result = null;
    try {
        Runtime r = Runtime.getRuntime();                    
        Process p = r.exec("/bin/hostname");
        BufferedReader in =
        new BufferedReader(new InputStreamReader(p.getInputStream()));
        String inputLine;
        inputLine = in.readLine();

    }
</code></pre>
