#gocd

/

      • superfly joined the channel
      • arvindsv has quit
      • kellyp_ joined the channel
      • kellyp joined the channel
      • kellyp joined the channel
      • kellyp joined the channel
      • arvindsv joined the channel
      • kellyp joined the channel
      • josdotso joined the channel
      • kellyp joined the channel
      • kellyp has quit
      • kellyp joined the channel
      • kellyp joined the channel
      • mjuszczak joined the channel
      • mjuszczak has quit
      • mjuszczak joined the channel
      • josdotso joined the channel
      • gchristensen
        arvindsv: I think we're communicating past each other on the PWD story
      • arvindsv
        :) Probably and we're probably overthinking it as well.
      • gchristensen
        arvindsv: without the bash `exec`, the task <exec command="sleep 100 | less"></exec> will instead of finding the executable named "sleep 100 | less" and executing it, it will parse and run it.
      • and yes this is valid:
      • $ ./sleep\ 100\ \|\ less
      • hi
      • (the escaping is only necessary due to the shell. in exec, it'd be unescaped.)
      • arvindsv
        No. What will happen is that it will get translated to quote the command.
      • It has to.
      • Otherwise, it'll do what you said.
      • So, it has to be: bash -c "'sleep 100 | less'"
      • Which will do the right thing.
      • Won't parse it.
      • gchristensen
        so you may be right, but I'm skeptical about putting that much faith into it, when what we have now is a specific behavior users are expecting :/
      • I wonder what shellwords will say
      • arvindsv
        Yes, that's why it will be toggled and checked. We will have to verify all of these.
      • That's why I keep mentioning gotchas.
      • gchristensen
        oh! oh! oh! this would be a good convo for gitter!
      • arvindsv
        If you want to paste this part there, we can continue ther.
      • there*
      • gchristensen
        this is not working.
      • grealish joined the channel
      • mjuszczak has quit
      • arvindsv has quit