@Override
	public void run()
	{
		// on mac os x 10.5.x, when i run a 'sudo' command, i need to write
		// the admin password out immediately; that's why this code is
		// here.
		if (sudoIsRequested)
		{
			// doSleep(500);
			printWriter.println(adminPassword);
			printWriter.flush();
		}

		BufferedReader bufferedReader = null;
		try
		{
			bufferedReader = new BufferedReader(new InputStreamReader(inputStream));
			String line = null;
			while ((line = bufferedReader.readLine()) != null)
			{
				outputBuffer.append(line + "\n");
			}
		}
		catch (IOException ioe)
		{
		}
		catch (Throwable t)
		{
		}
		finally
		{
			try
			{
				if (null != bufferedReader)
				{
					bufferedReader.close();
				}
			}
			catch (IOException e)
			{
				// ignore this one
			}
		}
	}