Questions tagged [executable]

An executable is a binary file that can be executed by the operating system.

An executable is a binary file that can be executed by the operating system.

3697 questions
39
votes
8 answers

possible to run RShiny app without opening an R environment?

Currently I have a R shiny app, to run it I open up RStudio and execute setwd("C:/Users/Me/Desktop/R/ShinyProject2") library(shiny) ...... runApp() From a R script located in my directory. I am sending the app for review purposes to a co-worker who…
Green Demon
  • 4,078
  • 6
  • 24
  • 32
38
votes
4 answers

How does kernel get an executable binary file running under linux?

How does kernel get an executable binary file running under linux? It seems a simple question, but anyone can help me dig deep? How the file is loaded to memory and how execution code get started? Can anyone help me and tell what's happening step by…
Daniel
  • 631
  • 2
  • 7
  • 14
37
votes
8 answers

Creating an executable .exe file from a PowerShell Script?

Is it possible to create an executable file.exe file from a PowerShell Script?
LaPhi
  • 431
  • 1
  • 4
  • 4
35
votes
3 answers

Running EXE with parameters

I need help in trying to execute an executable from my C# application. Suppose the path is cPath, the EXE is HHTCtrlp.exe and the parameter that has to be passed is cParams. How would I go about this? The reason why the path is a variable is that…
Privesh
  • 637
  • 2
  • 11
  • 19
35
votes
8 answers

Is it safe to recompile an executable while it's running?

What happens if I recompile an executable while it's running? Does the operating system read all of the executable's contents into memory when it starts running it, so it will never read the new executable file? Or will it read sections of the new…
HighCommander4
  • 50,428
  • 24
  • 122
  • 194
34
votes
9 answers

How to embed a file into an executable?

I have a small demo executable wrote in C++ that depends only on one 5kb PNG image being loaded before it can run, which is used for a pixel text I made. Because of this one file, I would need to give out a ZIP archive instead of just one…
Anne Quinn
  • 12,609
  • 8
  • 54
  • 101
34
votes
4 answers

How To Store Files In An EXE

Alright, so I'm working on programming my own installer in C#, and what I'd like to do is something along the lines of put the files in the .exe, so I can do File.Copy(file, filedir); Or, if this isn't possible, is there another way of doing what I…
S3THST4
  • 1,025
  • 2
  • 10
  • 8
33
votes
4 answers

Where is the difference between "binaries" and "executables" in the context of an executable program?

I often see the terms "binary" and "executable" seemingly used interchangeably for the same thing. Ain´t it two terms to describe the exact same thing; The executable output program after a compilation process, which I can run on the terminal? What…
33
votes
6 answers

python: Can I run a python script without actually installing python?

I have some .py files I wrote that I want to run on a different machine. The target machine does not have python installed, and I can't 'install' it by policy. What I can do is copy files over, run my stuff, and then remove them. What I tried was…
ccwhite1
  • 3,625
  • 8
  • 36
  • 47
33
votes
1 answer

Meaning of a Common String In Executables?

There appear to be some similar-looking long alphanumeric strings that commonly occur in Mach-O 64 bit executables and ELF 64-bit LSB executables among other symbols that are not alphanumeric: cat /bin/bash | grep -c "AWAVAUATSH" has 181 results,…
seewalker
  • 1,123
  • 10
  • 18
32
votes
3 answers

Is there a Perl equivalent to Python's `if __name__ == '__main__'`?

Is there a way to determine if the current file is the one being executed in Perl source? In Python we do this with the following construct: if __name__ == '__main__': # This file is being executed. raise NotImplementedError I can hack…
cdleary
  • 69,512
  • 53
  • 163
  • 191
32
votes
4 answers

What are possible causes of "failed to map segment from shared object: operation not permitted", and how to debug?

I have two executables, both cross compiled to run in Android. I have put both on the device in the same directory. I have put all the shared libraries that they are dependent on in the same directory, including ld-linux.so.3. I run the…
corbin
  • 1,446
  • 2
  • 27
  • 40
31
votes
2 answers

Java command line with external .jar

I develop a project using .jar to reuse code. So I have on .jar named TOOLS.jar, and I develop a simple application in file HelloWorld.java which refer my package TOOLS from TOOLS.jar I compile with this command line: javac -g -d C:\MyApp -cp…
TheFrancisOne
  • 2,667
  • 9
  • 38
  • 58
31
votes
1 answer

How to create a desktop icon with Inno Setup

I am very new of Inno Setup and I wish to add an optional Desktop icon to my executable in Inno Setup. The file is stored in C:\Users\PycharmProjects\GIOTTOconverter\dist\giotto.ico I tried to follow several examples but without results. ; Script…
Gianni Spear
  • 7,033
  • 22
  • 82
  • 131
30
votes
6 answers

Executable directory where application is running from?

I need to get the path (not the executable) where my application is running from: System.AppDomain.CurrentDomain.BaseDirectory() When I run the above statement with & "/images/image.jpg" on my local machine it works fine but when I install the…
JPJedi
  • 1,498
  • 7
  • 32
  • 58