When I try to do drush version it gives me this error can you help?

PHP Fatal error: Call to undefined function drush_shell_exec_proc_build_options() in /usr/share/drush/commands/core/ssh.drush.inc on line 18
Drush command terminated abnormally due to an unrecoverable error. [error]
Error: Call to undefined function
drush_shell_exec_proc_build_options() in
/usr/share/drush/commands/core/ssh.drush.inc, line 18

Also, what is the command for updating Drupal?

Thanks Tom

Comments

John_B’s picture

Drush commands are at http://drush.ws.

For a minor version update it is
# drush up

Bear in mind if you have hacked core or any module, or even done a www redirct in .htaccess, this command will by default overwrite those changes.

You do not say your install method or server environment. If you run your own server an easy install method is with pear, normally it works fine.
http://pear.drush.org/

if you are on shared hosting, it is sometimes trickier, best raise a ticket with the hosting company. If they are Drupal-friendly they will sort it out.

Digit Professionals specialising in Drupal, WordPress & CiviCRM support for publishers in non-profit and related sectors