The tag has no usage guidance.

learn more… | top users | synonyms

0
votes
1answer
44 views

Ansible loops and conditions with arrays

I want to be able to control the behaviour of a module by specifying changed_when condition. This works fine when executing simple task like the one in the docs: - command: some command ...
0
votes
1answer
431 views

IIS7 and PHP: Show error messages with all the rest of the output

Okay, this is slowly getting annoying. I'm used to work with Apache Webservers and never had any of these problems. IIS seems to try to be intelligent - or whatever. Here's my situation: My customer ...
-1
votes
1answer
157 views

autostart rc.local 2>&1 redirect, 'open /dev/tty: No such device or address'

I'm trying to execute this command with rc.local: wget http://address/file -P /root/ 2>&1 | stdbuf -o0 awk '/[.] +[0-9][0-9]?[0-9]?%/ { print substr($0,63,3) }' | whiptail --gauge "Progress" 6 ...
1
vote
0answers
65 views

Losing stdout when process restarts itself in windows

I have for example a NodeJS process running with Nodemon, and all the output redirected to a file. nodemon example.app > 123.log When I change any file in the node app, the NodeJS process is ...
0
votes
0answers
232 views

Display only the last line of a windows command line executable

I'm trying to write a batch script that manages simple software deployments. One of the steps in the script compresses a file structure into a 7zip archive. During the compression process, the z7ip ...
-2
votes
0answers
24 views

While loop failing without completing the action completely - must be stdin issue

Seeking experts help to fix stdin issue permanently, I was able to query using while loop with manually directing stdin (please see example below). Are there any method to specify in .profile or ...