Skip to content

Comments

Invoke mentos directly on GNU/Linux#119

Closed
avtobiff wants to merge 1 commit intopygments:masterfrom
avtobiff:invoke-mentos-directly
Closed

Invoke mentos directly on GNU/Linux#119
avtobiff wants to merge 1 commit intopygments:masterfrom
avtobiff:invoke-mentos-directly

Conversation

@avtobiff
Copy link

@avtobiff avtobiff commented Apr 2, 2014

Invoking the script on GNU/Linux by passing it as an argument to
python(2) makes the process use 100% CPU for about tens of
seconds when it is supposed to timeout (test_returns_nil_on_timeout
reproduces this).

On current Debian Sid python2 exists, so this can be used in mentos.py
shebang.

Brought back script invocation for windows.

Invoking the script on GNU/Linux by passing it as an argument to
python(2) makes the process use 100% CPU for about tens of seconds when
it is supposed to timeout (test_returns_nil_on_timeout reproduces this).

On current Debian Sid python2 exists, so this can be used in mentos.py
shebang.

Brought back script invocation for windows.
@gfx
Copy link
Collaborator

gfx commented Dec 28, 2016

@gfx gfx closed this Dec 28, 2016
AlexGhiti added a commit to AlexGhiti/pygments.rb that referenced this pull request Jan 5, 2022
AlexGhiti added a commit to AlexGhiti/pygments.rb that referenced this pull request Jan 5, 2022
AlexGhiti added a commit to AlexGhiti/pygments.rb that referenced this pull request Jan 6, 2022
AlexGhiti pushed a commit to AlexGhiti/pygments.rb that referenced this pull request Jan 21, 2022
AlexGhiti added a commit to AlexGhiti/pygments.rb that referenced this pull request Jan 21, 2022
Not needed anymore as of pygments#119

Signed-off-by: Alexandre Ghiti <alexandre.ghiti@canonical.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants