executable

How to turn the V8 compiled javascript into an EXE?

╄→尐↘猪︶ㄣ 提交于 2019-12-19 05:44:45
问题 I know that google's v8 compiles javascript into native machine (binary if I understand correctly) code. Is there a way to take the output and turn it into a exe? 回答1: I don't think you can directly turn a piece of JavaScript into an executable using V8, but you can probably make an application that bundles the V8 engine with the JavaScript and runs it as a stand-alone. You can find all information about V8 on its project page. Also note that JavaScript can't be completely compiled as it's a

How to open .EXE with Javascript/XPCOM as Windows “Run…”?

送分小仙女□ 提交于 2019-12-19 04:50:16
问题 I have an intranet web application who needs to run some external applications, like Word, Notepad and other particular ones... My code allow the access with IE (ActiveX) and Firefox (XPCOM). When I use the whole path (like "C:\windows\notepad.exe") I can run in both browses, but y problem is: there's a lot of versions for some applications like Microsoft Word (2003, 2007, 2010...), and the local path is always different, BUT if I use the "Run..." option in Windows, I can only type "winword

Python deployment and /usr/bin/env portability

拥有回忆 提交于 2019-12-18 19:08:44
问题 At the beginning of all my executable Python scripts I put the shebang line: #!/usr/bin/env python I'm running these scripts on a system where env python yields a Python 2.2 environment. My scripts quickly fail because I have a manual check for a compatible Python version: if sys.version_info < (2, 4): raise ImportError("Cannot run with Python version < 2.4") I don't want to have to change the shebang line on every executable file, if it's possible; however, I don't have administrative access

Windows 10 : naming programs main.exe cause them to show pop up

孤街醉人 提交于 2019-12-18 14:12:36
问题 On windows 10 when we create a program named main.exe or rename a program to main.exe , the program will show a pop up as seen here : There is 2 different pop up than can be shown : -the game bar one (French and English version): -the screenshot one : (In English: Press Win + Alt + PrintScreen to take a screenshot) I originally discovered the problem while using python and cx_freeze, I have tested this on multiple programs, including (as seen above) renaming notepad++.exe to main.exe , and

Python 3.0.1 Executable Creator

半世苍凉 提交于 2019-12-18 13:37:28
问题 Does anyone know if there's a windows Python executable creator program available now that supports Python 3.0.1? It seems that py2exe and pyInstaller, along with all the rest I've found, still aren't anywhere close to supporting 3.0 or 3.0.1. Any help is greatly appreciated. Edit: I guess I could downgrade the program to an older version of Python to make it work with py2exe. The hardest part will probably be using an older version of Tkinter. Has anyone had luck with using py2exe or

Ubuntu recognizes executable as shared library and won't run it by clicking

徘徊边缘 提交于 2019-12-18 13:26:24
问题 I am first experiencing this issue on my fresh installation of lubuntu 17.04. I have used to use Ubuntu before and I hadn't this issue before. I compiled my qt application and I can execute it through command line by issuing with "./". However, I can't execute it by clicking on file manager (neither PCManFM, Nautilus...) Both recognizes it as shared library file type. How can I run it by clicking directly on the file? this is what happens when I double-click the executable through file

Proper way to add svn:executable

微笑、不失礼 提交于 2019-12-18 10:01:02
问题 I have a few files that have been executable before svn adding them. They have the svn:executable property set. Now, a few other files were checked in without the executable bit do not have it, and I want to set the svn:executable property: $ svn propset svn:executable on *.cgi Then I check the status and even the files with the svn:executable have been modified: $ svn diff Property changes on: a.cgi ___________________________________________________________________ Modified: svn:executable

Errors with Matplotlib when making an executable with Py2exe (Python)

我的未来我决定 提交于 2019-12-18 09:17:37
问题 I have a problem when trying to make an executable with a Python application. For doing this, I'm using Py2exe with the 2.7 version of Python. My application have 3 python scripts -> IHM_monotone_flux_GTC.py which is the one who launch a graphical interface and then 2 others scripts: -> lectureDonnees.py -> main.py In order to create an executable I made a setup.py file which is surely incomplete: from distutils.core import setup import py2exe setup(windows=['IHM_monotone_flux_gtc.py'])

Windows PE Resources

こ雲淡風輕ζ 提交于 2019-12-18 05:58:08
问题 there are many windows PE resource viewers programs. But how do they work? Do they decode function calls to winapi, or does PE have some section for GUI information? Like Android has XML GUI definitons? Thanks. 回答1: There are probably different implementation strategies, so it's not possible to answer this universally for all tools. The PE file format specification is publicly available. It specifies the section structure of a PE file, how to find the .rsrc section in the file, and how to

15 Python scripts into one executable?

梦想与她 提交于 2019-12-18 04:59:11
问题 Ive been tinkering around all day with solutions from here and here: How would I combine multiple .py files into one .exe with Py2Exe Packaging multiple scripts in PyInstaller but Its not quite working the way I thought it might. I have a program that Ive been working on for the last 6 months and I just sourced out one of its features to another developer who did his work in Python. What I would like to do is use his scripts without making the user have to download and install python. The