laurentj / slimerjs

A scriptable browser like PhantomJS, based on Firefox
http://slimerjs.org
Other
3k stars 259 forks source link

slimerjs doesn't work with zsh #224

Open ghost opened 10 years ago

ghost commented 10 years ago

hello.js console.log("hello, world");

my system is Mac OS and after execute slimerjs hello.js nothing happend except my iterm2's header bar flashed a bit

laurentj commented 10 years ago

It works for me on MacOS 10.6 with the classical Terminal app. Is the message displayed? Do you see the SlimerJS window? Which version of MacOS do you have?

laurentj commented 10 years ago

What is your shell environment? bash?

ghost commented 10 years ago

Shell environment is zsh.

ghost commented 10 years ago

Terminal is iterm2

laurentj commented 10 years ago

the shell script of Slimerjs is for bash. Do you have bash installed? (/bin/bash) Is Zsh the default shell of MacOS?

ghost commented 10 years ago

i installed zsh and set it as the default. I don't think slimerjs should behave depend on that

laurentj commented 10 years ago

Well, I know only bash. Feel free to fix issues with zsh (and any other shell) in the shell script.

laurentj commented 9 years ago

Did you have a new script for zsh?

caseyyee commented 9 years ago

I'm running zsh and it's all working fine for me.

zsh 5.0.2 (x86_64-apple-darwin13.0)

I have been using the standalone install version 0.9.3.

laurentj commented 9 years ago

@caseyyee is /bin/bash also installed on your mac ?

caseyyee commented 9 years ago

Yes it is.

» /bin/bash --version GNU bash, version 3.2.51(1)-release (x86_64-apple-darwin13) Copyright (C) 2007 Free Software Foundation, Inc.

laurentj commented 9 years ago

@caseyyee that's why you don't have problems.