After I do an drush -v update, in the cmd.exe window, I get the following error message(s):
Node code updates available. [ok]
The command could not be executed successfully (returned: Could not [error]
open input file: s, code 1)
An error occurred at function: drush_pm_post_update [error]
Command displatch complete [notice]

Comments

starbow’s picture

Also, the updatedb command is not being execute, but the rest of the update seems to be running successfully.

rick24’s picture

I am getting this same error on clean install of Drupal (also on XP, though I doubt that XP is a factor). 'drush status' output is as expected.

The error occurs after the the first two modules' status is displayed:

$ drush update
Refreshing update status information ...
Done.
Update information last refreshed: Mon, 08/03/2009 - 18:13

Update status information on all installed and enabled Drupal modules:
 Name                 Installed version  Proposed version  Status     
 Administration menu  6.x-1.5            6.x-1.5           Up to date 
 Drupal               6.13               6.13              Up to date 

No code updates available.                                           [ok]
The command could not be executed succesfully (returned: Could not   [error]
open input file: s
, code: <em>1</em>)
An error occurred at function : drush_pm_post_update                 [error]

UPDATE:
After a cursory debug session, it appears this occurs only when no updates are required. On a cloned version of this site with more modules and updates required, this error does not occur.

jonhattan’s picture

Component: Code » PM (dl, en, up ...)
Status: Active » Fixed

This is quite old. Who knows if it's still an issue. Try with drush HEAD and reopen or post a new issue if you still have this problem.
Note there're other issues related to windows support that may help. For example #766080: Windows support for drush: escaping the path to drush in backend invoke and elsewhere

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.