• shell - php shell_exec as another user

    up vote 0 down vote favorite I am using Ubuntu 14.04 and when I am using terminal to execute some command does work correctly, but when execute same command using php I got error: Can't read license d

  • shell exec - php shell_exec() interpolation

    up vote 0 down vote favorite I have a php script that builds a dynamic command string (calls a perl script), then executes the command, like this: $cmd_string = "perl $pushFile"; foreach($cmd_

  • python - Running shell commands without a shell window

    up vote 6 down vote favorite 1 With either or subprocess.Popen, executing a shell command makes a shell window quicky appear and disappear. How can I run the shell command without the

  • Unix Shell Programming

    up vote -5 down vote favorite Have an input file with 200 lines, each line just one field which is a number. E.g. 89970060122507635800 I need to create one output file in a way that it will look like

  • shell - Issue with Script

    up vote -2 down vote favorite We have a script which is checking and sending an alert if process goes down. For some reason it is not capturing it properly for all the users and not sending the alerts

  • Custom (interactive) shell with Python

    up vote 22 down vote favorite 3 I'm currently trying to make some small shell-like utility for a custom script I wrote, so I can easily work with it (it's rather simple, so an interactive shell would

  • Shell command excel vba

    up vote 1 down vote favorite I'm having some problems executing the following in Excel VBA. The goal is to run an .sql file - the issue is with the Execute Shell sub I think. I run: Sub RunFile()

  • ffmpeg shell script globbing

    up vote 0 down vote favorite I have a pretty straight forward question. I have a bunch of individual directories that are labeled as ./001 ./002 ... ./201 within each directory contains files that hav

  • UNIX Shell Kill Command

    up vote 2 down vote favorite My script to kill the process contains just this #!/bin/sh kill -SIGKILL 3590 I get ./ line 3: kill: SIGKILL: invalid signal specification But the same command wor

  • shell - Bash quote problems

    up vote 1 down vote favorite 1 I'm trying to invoke a native Windows command from Cygwin using run, but as it happens, the command (which I'm taking from the registry) is already quoted and in several