Giter Site home page Giter Site logo

Comments (3)

GoogleCodeExporter avatar GoogleCodeExporter commented on August 27, 2024
Same here:

text = clipboard.get_selection()
kommando = "firefox 'http://www.google.de/search?q=%s'" % text
x = system.exec_command(kommando)

This freezes AutoKey. After closing Firefox, AutoKey will work again.
(Ubuntu 9.10, AutoKey 0.61.0)



Original comment by [email protected] on 28 Nov 2009 at 5:05

from autokey.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 27, 2024
The reason is because system.exec_command waits for the process to exit before 
it
returns, hence blocking the thread in autokey that handles all the expansions. 

Try adding an ampersand to the end of your command (&).

Original comment by cdekter on 24 Mar 2010 at 11:22

  • Changed state: Accepted

from autokey.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 27, 2024
OK no that won't help...

Added additional optional argument for system.exec_command in v0.61.6 - set 
getOutput
to False if you don't care about the output of the command. This way autokey 
won't
block if the command does not return to the shell immediately (e.g. like gedit 
does)

Original comment by cdekter on 25 Mar 2010 at 1:18

  • Changed state: Fixed

from autokey.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.