Skip to main content

Questions tagged [exec]

The tag has no usage guidance.

-1 votes
1 answer
96 views

Start .bat file via php

I'm using system('START C:\[address]\refresh.bat'); but when I start this I get: C:\[address]>git fetch 'git' is not recognized as an internal or external command, operable program or batch file. ...
Hopm Mpoн's user avatar
0 votes
1 answer
99 views

Script to install Anaconda and update conda

I want to write a shell script (zsh) that does the following: Installs Anaconda via Homebrew. Adds conda to PATH in .zshrc. Updates conda base environment. I have come up with the following solution:...
NilsK's user avatar
  • 165
0 votes
2 answers
236 views

How can I run an exe from stdout?

I have a .exe file hosted as a release on a Github project, it is my project so I know this file is secure as I have compiled it. https://github.com/USERNAME/PROJECT/releases/latest/download/TORUN.exe ...
ty246's user avatar
  • 21
-2 votes
1 answer
133 views

untrusted executable "ln", should it be removed, if yes how?

I was inspecting the startup items to disabled non utilized applications and came across this item from unidentified developer. What should I do about it? And how to proceed if is to be removed?
Peter Koller's user avatar
0 votes
0 answers
87 views

How do I get all executed commands programmatically in linux shell?

Despite having the history file, how do I programmatically get every command being executed in shell?
RickyLo's user avatar
  • 17
1 vote
1 answer
1k views

How do I make a shortcut (.lnk) to run a .exe file in the same folder so that it works when I switch computers (all file paths are different)

I have a folder on my PC. Within that folder, there is a shortcut (.lnk) and an executable file (.exe). When I click on the shortcut, the .exe file should run. I have managed to achieve this no ...
Matthias's user avatar
0 votes
1 answer
602 views

How to pipe data from one terminal to another under Windows with Ubuntu and WSL

The problem arise to provide online help to developers using an interpreter, and has been realised with Cygwin + mintty + a home grown interpreter. So relevance and principles are well known in a ...
Jørgen Steensgaard's user avatar
-1 votes
1 answer
969 views

How to run exec command in a loop until it is successful

I want run exec $Docker-run command until it's successful on redhat linux. Looping over it? $Docker-run = docker run --env-file .env Image-name Can anyone provide a solution?
skillshot07's user avatar
1 vote
1 answer
4k views

running sudo with PHP

Yes, there are many answers to a similar question, but mine is a bit more specific. I want to add the user running apache, www-data to sudoers, but everywhere I've read, they have added specific files ...
CryptoRhino's user avatar
0 votes
1 answer
316 views

How can I perform start command in PowerShell same as I do in CMD?

When I use start command in CMD it opens second CMD window with the same state (same location and same virtual environment). But I cannot do it in PowerShell. Is there any command for it in PowerShell?...
Kyoko Sasagava's user avatar
1 vote
0 answers
584 views

What is the difference between running a from cmd line vs. double click?

I have a miner program and if i double click and run it, it works fine, but if i run it from the cmd line using executable name it doesnt run, it crashes. I tried to run with CreateProcess function ...
C.Unbay's user avatar
  • 105
0 votes
0 answers
727 views

How can I stop firewalld from interrupting an existing outgoing ssh exec session when it is started or restarted?

I have a java program running on a Centos7 server that continuously "tails" a file on another Centos7 server using the JSch library to run an ssh exec process to run a shell script on the ...
Ross's user avatar
  • 1
0 votes
0 answers
156 views

Circular pipe in bash

I need a circular pipe in Bash. This doesn’t work: exec 3>&1 | socat | awk | socat >&3 #exec 3>&1 This works: exec 3> /dev/stderr ; echo test >&3 Can somebody provide ...
iwl's user avatar
  • 1
2 votes
3 answers
2k views

How to chain/connect multiple -exec commands with find * and ls?

Problem I use find -exec curl in ubuntu console to list all files in directory and send them to FTP server: find * -type f -exec curl -u ***:*** --ftp-pasv --ftp-create-dirs -T {} $PATHDEST/{} \; -...
marcinpl87's user avatar
-1 votes
1 answer
1k views

How to silently execute exe file without a opening dialogue? [duplicate]

I hide two files with rar. An image file and an exe file. When I execute this I get exe file dialogue appearing on the screen. But I don't want to see it. How to do that? https://i.sstatic.net/fewHl....
Sandesh's user avatar

15 30 50 per page
1
2 3 4 5