--- imageapi_imagemagick.module 2009-05-29 13:48:32.000000000 -0400 +++ imageapi_imagemagick.module.working 2010-05-14 19:15:17.000000000 -0400 @@ -195,7 +195,7 @@ function _imageapi_imagemagick_convert_e 1 => array('pipe', 'w'), // stdout 2 => array('pipe', 'w') // stderr ); - if ($h = proc_open($convert_path .' '. $command_args, $descriptors, $pipes, $drupal_path)) { + if ($h = proc_open($convert_path .' '. $command_args, $descriptors, $pipes, getcwd())) { $output = ''; while (!feof($pipes[1])) { $output .= fgets($pipes[1]);