Skip to content

command not found #34

@dominicbarnes

Description

@dominicbarnes

On my Fedora 20 laptop (and presumably my Ubuntu 14.04 desktop, but I'm not at home atm) duo-test does not work very well.

$ duo test browser

  Error: Command failed: /bin/sh -c google chrome "http://localhost:60883/test/"
/bin/sh: google: command not found

    at ChildProcess.exithandler (child_process.js:729:12)
    at ChildProcess.EventEmitter.emit (events.js:110:17)
    at maybeClose (child_process.js:992:16)
    at Socket.<anonymous> (child_process.js:1142:11)
    at Socket.EventEmitter.emit (events.js:107:17)
    at Pipe.close (net.js:461:12)

On my machine at least, the command is called google-chrome, but I'm guessing this is not the case on Mac?

The name function is returning "google chrome", which after changing it to "google-chrome" it worked. (also noticed "internet explorer" should probably be "iexplorer".

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions