search for: rb_file_s_expand_path

Displaying 1 result from an estimated 1 matches for "rb_file_s_expand_path".

2004 Feb 15
1
Win32::Process fork fragility
...t; include Win32 Dir.chdir ".." # This causes the problem pid = Win32::Process.fork if pid == 0 puts "In the child" exit else puts "In the parent" end Win32::Process.wait(pid) I think the problem lies in this code: fname = rb_gv_get("$0"); ... path = rb_file_s_expand_path(1, &fname); I think I solved this problem by declaring fname and path at the top of the process.c file and then moving those two lines into the Init_process() function. It worked in testing anyway. Shall I commit? Regards, Dan ____________________________________________________________...