New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open issues in background #35

Merged
merged 1 commit into from May 15, 2015

Conversation

Projects
None yet
3 participants
@masatomo
Contributor

masatomo commented Nov 25, 2014

so that you can do other thing while you are opening many tabs.

Open issues in background
so that you can do other thing while you are opening many tabs.
@masutaka

This comment has been minimized.

Show comment
Hide comment
@masutaka

masutaka Nov 26, 2014

Contributor

Looks good. I have also feeling inconvenient.

Contributor

masutaka commented Nov 26, 2014

Looks good. I have also feeling inconvenient.

@kyanny

This comment has been minimized.

Show comment
Hide comment
@kyanny

kyanny Nov 27, 2014

Owner

I don't think --background option works good with ghn.
Regardless of --background option, following scripts blocks.
(we need sleep because of #30)

10.times do
  system "open -g http://example.com/"
  sleep 0.5
end
10.times do
  system "open http://example.com/"
  sleep 0.5
end

If you want to run ghn open in background, please try $ ghn open &.
http://unixhelp.ed.ac.uk/shell/jobz2.html

Owner

kyanny commented Nov 27, 2014

I don't think --background option works good with ghn.
Regardless of --background option, following scripts blocks.
(we need sleep because of #30)

10.times do
  system "open -g http://example.com/"
  sleep 0.5
end
10.times do
  system "open http://example.com/"
  sleep 0.5
end

If you want to run ghn open in background, please try $ ghn open &.
http://unixhelp.ed.ac.uk/shell/jobz2.html

@masatomo

This comment has been minimized.

Show comment
Hide comment
@masatomo

masatomo Nov 27, 2014

Contributor

opening tabs in background shell is not what I want to do here.

currently, when it's opening issues in a browser, the browser gets focus for each issue. so, during opening issues, I can't use other apps (like HipChat / Evernote / Terminal ... anything)
This is my problem here.

Contributor

masatomo commented Nov 27, 2014

opening tabs in background shell is not what I want to do here.

currently, when it's opening issues in a browser, the browser gets focus for each issue. so, during opening issues, I can't use other apps (like HipChat / Evernote / Terminal ... anything)
This is my problem here.

@masatomo

This comment has been minimized.

Show comment
Hide comment
@masatomo

masatomo May 15, 2015

Contributor

ping @kyanny this is still useful.
but if you don't agree, I'll just close this issue.

Contributor

masatomo commented May 15, 2015

ping @kyanny this is still useful.
but if you don't agree, I'll just close this issue.

@kyanny

This comment has been minimized.

Show comment
Hide comment
@kyanny

kyanny May 15, 2015

Owner

I finally understood what it is..!!
(But it seems that --background option was renamed to -g; I will change it after merge)

Owner

kyanny commented May 15, 2015

I finally understood what it is..!!
(But it seems that --background option was renamed to -g; I will change it after merge)

kyanny added a commit that referenced this pull request May 15, 2015

@kyanny kyanny merged commit 5bae563 into kyanny:master May 15, 2015

1 check passed

continuous-integration/travis-ci The Travis CI build passed
Details
@kyanny

This comment has been minimized.

Show comment
Hide comment
@kyanny

kyanny May 15, 2015

Owner

@masatomo Sorry your PR is abandoned too long time 🙇

Owner

kyanny commented May 15, 2015

@masatomo Sorry your PR is abandoned too long time 🙇

@masatomo

This comment has been minimized.

Show comment
Hide comment
@masatomo

masatomo May 15, 2015

Contributor

no problems. thanks!

and seems --backgroud still exists (just run the open command and see help). And I prefer to a long form option in a script for readability. but I don't mind either way.

Contributor

masatomo commented May 15, 2015

no problems. thanks!

and seems --backgroud still exists (just run the open command and see help). And I prefer to a long form option in a script for readability. but I don't mind either way.

@kyanny

This comment has been minimized.

Show comment
Hide comment
@kyanny

kyanny May 15, 2015

Owner

Ah yes, it works even though I can't find it on open(1) manpage. I will keep long option because I agree with your opinion 😄
https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man1/open.1.html

Owner

kyanny commented May 15, 2015

Ah yes, it works even though I can't find it on open(1) manpage. I will keep long option because I agree with your opinion 😄
https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man1/open.1.html

@kyanny

This comment has been minimized.

Show comment
Hide comment
@masutaka

This comment has been minimized.

Show comment
Hide comment
@masutaka

masutaka May 17, 2015

Contributor

🙆

Contributor

masutaka commented May 17, 2015

🙆

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment