From 46e461212ab17c1befd9362f4e1f0527296c17e0 Mon Sep 17 00:00:00 2001 From: usa Date: Sun, 27 Dec 2015 12:15:20 +0000 Subject: * process.c (rb_execarg_parent_start1): need to convert the encoding to ospath's one. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53348 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- process.c | 1 + 1 file changed, 1 insertion(+) (limited to 'process.c') diff --git a/process.c b/process.c index fdf75ee019..e196639b87 100644 --- a/process.c +++ b/process.c @@ -2314,6 +2314,7 @@ rb_execarg_parent_start1(VALUE execarg_obj) if (NIL_P(fd2v)) { struct open_struct open_data; FilePathValue(vpath); + vpath = rb_str_encode_ospath(vpath); again: open_data.fname = vpath; open_data.oflags = flags; -- cgit v1.2.3