[erlang-patches] Deep list argument error under Windows in os:cmd/1

Henrik Nord <>
Wed Dec 12 13:15:39 CET 2012


Hi your test fails with: **** User 2012-12-10 23:03:01.060 **** 
os_SUITE:deep_list_command failed Reason: undef




On 11/22/2012 09:02 AM, Aleksandr Vinokurov wrote:
> Hi all,
>
> Maybe I'm doing smth. wrong -- why there is no reply to my patch?
>
> WBR,
> Aleksandr Vinokurov
>
>
> On 8 November 2012 14:11, Aleksandr Vinokurov < 
> <mailto:>> wrote:
>
>     Because of leeway in implementing os:cmd/1 under different OS there is
>     a difference in results when calling it with deep list
>     argument. os:cmd/1 specifies io_lib:chars() type for its argument and
>     io_lib functions can produce deep lists inspite of io_lib:chars()
>     result type specification. This commit flattens the argument for
>     erlang:open_port/2 (which is used under Windows) and expands the
>     os_SUITE to regress the bug.
>
>     git fetch git://github.com/aleksandr-vin/otp.git  <http://github.com/aleksandr-vin/otp.git>  maint-fix-os-cmd-win
>
>     or viewed here:
>
>     https://github.com/aleksandr-vin/otp/compare/maint-fix-os-cmd-win
>     https://github.com/aleksandr-vin/otp/compare/maint-fix-os-cmd-win.patch
>
>     -- 
>     Aleksandr Vinokurov
>     +7 (921) 982-21-43
>     @aleksandrvin
>
>
>
>
> -- 
> ????????? ?????????
> +7 (921) 982-21-43
> @aleksandrvin
>
>
>
> _______________________________________________
> erlang-patches mailing list
> 
> http://erlang.org/mailman/listinfo/erlang-patches

-- 
/Henrik Nord Erlang/OTP

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-patches/attachments/20121212/f1e18861/attachment.html>


More information about the erlang-patches mailing list