[ https://issues.apache.org/jira/browse/MESOS-6533?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15629501#comment-15629501 ]
Till Toenshoff commented on MESOS-6533: --------------------------------------- Maybe stout's {{Path}} would be a well fitting host? > We should consider offering some abstraction for rendering binary extensions > where needed. > ------------------------------------------------------------------------------------------ > > Key: MESOS-6533 > URL: https://issues.apache.org/jira/browse/MESOS-6533 > Project: Mesos > Issue Type: Improvement > Reporter: Till Toenshoff > Priority: Minor > > Things like the below feel a bit unfortunate - especially when happening in > higher frequencies. > {noformat} > #ifndef __WINDOWS__ > constexpr char TCP_CHECK_COMMAND[] = "mesos-tcp-connect"; > constexpr char HTTP_CHECK_COMMAND[] = "curl"; > #else > constexpr char TCP_CHECK_COMMAND[] = "mesos-tcp-connect.exe"; > constexpr char HTTP_CHECK_COMMAND[] = "curl.exe"; > #endif // __WINDOWS__ > {noformat} > We could offer some abstraction that magically renders any needed runnable > extension. -- This message was sent by Atlassian JIRA (v6.3.4#6332)