Skip to content

exitstatfunc doesn't get called #1713

Closed

Description

@bdbaddog

This issue was originally created at: 2007-08-20 17:24:09.
This issue was reported by: mdoar.
mdoar said at 2007-08-20 17:24:09

Trying to use exitstatfunc in cygwin, I copied the action from the man page:

def always_succeed(s):

Always return 0, which indicates success.

return 0
a = Action("ls ${SOURCE.file} ${TARGET.file}",
exitstatfunc=always_succeed)
env.Alias('runme', env.Command('foo', 'SConstruct', a))

but I get the same error whether I use exitstatfunc or not.

scons: done reading SConscript files.
scons: Building targets ...
ls SConstruct foo
ls: cannot access foo: No such file or directory
SConstruct
scons: *** [gen/cygwin_nt5.1-pc-all/foo] Error 2
scons: building terminated because of errors.

stevenknight said at 2007-09-07 15:41:54

Fixed in next release. Thanks,

stevenknight said this issue blocks #1664 at 2007-09-07 15:41:54.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions