Failed to create child process '/bin/sh'

2006-12-03
2013-04-11
  • Brent Heyes
    Brent Heyes
    2006-12-03

    Hey guys,

    I was trying to setup Evolution on Windows to filter Spam as I do on Linux.

    I installed and configured bsfilter and then added an Evolution mail filter to "Pipe to Program" and then "Set Status" to "Junk". Everytime I try and run the filter I get the following error:

    "Error while Filtering Folder.

    Failed to create create child process '/usr/bin': Failed to execute child process (No such file or directory)"

    Anyone got any ideas how I can work around this??

    Many thanks,

    -Brent

     
    • Brent Heyes
      Brent Heyes
      2006-12-03

      Right... after a little playing around, the answer was actually quite simple.

      I simply created a batch file in "C:\bin\" called "sh.bat" with the following commands:

      @echo off
      %*
      echo %errorlevel%

      It's not the most elegant solution, but it's working well for me :-)

      I'll post a mini Howto in a new thread shortly.

      -Brent