Bugs item #3924, was opened at 26/03/2006 22:12
You can respond by visiting:
http://rubyforge.org/tracker/
?func=detail&atid=411&aid=3924&group_id=85
Category: win32-taskscheduler
Group: Code
Status: Open
Resolution: None
Priority: 3
Submitted By: David FAROI (dfaroi)
Assigned to: Daniel Berger (djberg96)
Summary: Segmentation fault under Windows
Initial Comment:
I'm trying to make something like this:
require 'win32/taskscheduler'
include Win32
puts `xcopy "D:\ATest A" "D:\ATest
B" /c /d /e /i /h /l /r /y`
I get the following error :
------
[BUG] Segmentation fault
ruby 1.8.2 (2004-12-25) [i386-mswin32]
This application has requested the Runtime to terminate it
in an unusual way.
Please contact the application's support team for more
information.
------
If I remove the two firts line, it works.
Note that I have the same error under ruby 1.8.4
Any idea ?
--
Windows XP SP2
taskscheduler version 0.0.3
------------------------------------------------------------
----------
>Comment By: David FAROI (dfaroi)
Date: 27/03/2006 17:34
Message:
Thanks Park Heesob to reply.
Will keep you inform if I success compile a taskscheduler.so
file.
Regards.
David
------------------------------------------------------------
----------
Comment By: Park Heesob (phasis68)
Date: 27/03/2006 14:21
Message:
Hi,
I found what is the bug.
Please modify taskscheduler.h Line #173
TASK_FLAG_RUN_ONLY_IF_LOGGED_ON);
to
INT2NUM(TASK_FLAG_RUN_ONLY_IF_LOGGED_ON));
Regards,
Park Heesob
------------------------------------------------------------
----------
You can respond by visiting:
http://rubyforge.org/tracker/
?func=detail&atid=411&aid=3924&group_id=85
_______________________________________________
win32utils-devel mailing list
win32utils-devel rubyforge.org
http://rubyforge.org/mailman/listinfo/win32utils-devel
|