flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-3416) [py] .bat files fail when path contains spaces
Date Tue, 23 Feb 2016 15:24:18 GMT

    [ https://issues.apache.org/jira/browse/FLINK-3416?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15159038#comment-15159038
] 

ASF GitHub Bot commented on FLINK-3416:
---------------------------------------

Github user zentol commented on a diff in the pull request:

    https://github.com/apache/flink/pull/1674#discussion_r53794490
  
    --- Diff: flink-dist/src/main/flink-bin/bin/pyflink2.bat ---
    @@ -22,4 +22,4 @@ setlocal EnableDelayedExpansion
     SET bin=%~dp0
     SET FLINK_ROOT_DIR=%bin%..
     
    -%FLINK_ROOT_DIR%\bin\flink run -v %FLINK_ROOT_DIR%\lib\flink-python*.jar 2 %*
    \ No newline at end of file
    +"%FLINK_ROOT_DIR%\bin\flink" run -v "%FLINK_ROOT_DIR%"\lib\flink-python*.jar 2 %*
    --- End diff --
    
    that would result in all arguments passed being treated as a single argument.
    
    if additional paths are 
    * relative, Flink will receive a relative path and use internal tools to make them absolute.
    * absolute, the user has to use "" himself.


> [py] .bat files fail when path contains spaces
> ----------------------------------------------
>
>                 Key: FLINK-3416
>                 URL: https://issues.apache.org/jira/browse/FLINK-3416
>             Project: Flink
>          Issue Type: Bug
>          Components: Python API
>    Affects Versions: 1.0.0
>            Reporter: Chesnay Schepler
>            Assignee: Chesnay Schepler
>            Priority: Minor
>             Fix For: 1.0.0
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message