# Win32/taskscheduler : Segmentation fault error

**URL:** <https://www.ruby-forum.com/t/win32-taskscheduler-segmentation-fault-error/87370>\
**Category:** Ruby\
**Created:** [March 27, 2006, 12:19am UTC](https://www.ruby-forum.com/t/win32-taskscheduler-segmentation-fault-error/87370 "2006-03-27T00:19:38Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![yeman13](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/y/3d9bf3/32.png) [@yeman13](https://www.ruby-forum.com/u/yeman13)\
**Post date:** [March 27, 2006, 12:19am UTC](https://www.ruby-forum.com/t/win32-taskscheduler-segmentation-fault-error/87370/1 "2006-03-27T00:19:38Z")

</div>

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 ?  
Thanks for your help

–  
OS : Windows XP SP2  
Taskscheduler version : 0.0.3

David
