Questions tagged [non-interactive]

96 questions
0
votes
1 answer

Echoing password to command with rc.local

We have a command to handle the joining of our RHEL7 servers to Privilege Manager for Sudo that is not working when ran from the rc.local script. The command is below with more generic names instead of our specific assets. echo "password" |…
Sadadar
  • 13
  • 3
0
votes
1 answer

Powershell Script fails with "Read and Prompt Functionality is not available"

I am running a series of Remove-NetIPAddress and New-NetIPAddress powershell commands. They run fine in interactive mode locally on the machines. When run through ansible, they fail as they usually prompt the user to confirm the actions. I have…
Derek
  • 357
  • 1
  • 5
  • 16
0
votes
0 answers

Java chat room UI blank and unresponsive

I have followed the newboston tutorials and made a chatroom with server side code and client side code. I wanted to build them together in one app. My issue is that the client is blank, I used the standalone server from the tutorial. picture of…
Belar
  • 1
  • 2
0
votes
0 answers

how to avoid running in Non-interactive mode (python subprocess.Popen)

when I use subprocess.Popen to runn cts it always get into Non-interactive mode then stopped. Non-interactive mode: Running initial command then exiting. Below is the code I used. subprocess.Popen(command_list, stdout=subprocess.PIPE,…
R. Michael
  • 21
  • 1
0
votes
2 answers

Android - How to prevent a user interacting with Gallery

OK, I know this questions sounds weird at first, as GALLERY is designed to be user interactive, but, I like the Gallery functionality, as it suits a lot of my needs. i.e. I can give it a number of pictures, move the whole of them from right to left,…
andy_spoo
  • 316
  • 1
  • 4
  • 17
0
votes
0 answers

how to create private key with passphrase in openssl

I am creating private key and csr as follows: openssl req -nodes -newkey rsa:2048 -keyout ./private.key -out ./mycsr.csr -subj "CN=blah" I understand since the above command has a -nodes(no des) , the private key will not be having a passphrase. I…
KurinchiMalar
  • 598
  • 3
  • 12
  • 28
0
votes
1 answer

PHP script with arguments run over non-interactive SSH session not working

I have to call a PHP script that takes arguments.. php /home/flintarm/www/store/magmi-importer/cli/magmi.cli.php -profile=Category -mode=create -logger=CLILogger This works perfectly fine if I login with PuTTY and have an interactive login. I am…
user1005246
  • 135
  • 3
  • 13
0
votes
1 answer

batch to connect network drive in non interactive method

I want to run one batch script to run non-interactive method to connect other network shared drive. But, i don't want to hard code the password in net use command. Please suggest any other ways to connect network shared drive? thanks.
msiva1989
  • 33
  • 1
  • 7
0
votes
1 answer

Persistent non-interactive FTP session for usage in shell scripts

I would like to script a complex scenario of file transfers from Linux to a Windows FTP server (detecting new/changed files and then transfer) and I am unable to find a command-line ftp client which supports sending files over a persistent (one time…
henfiber
  • 1,209
  • 9
  • 11
0
votes
3 answers

Is there any tips for minimising access to a public page without login?

I have a page that is just a non interactive display for a shop window. Obviously, I don't link to it, and I'd also like to avoid people stumbling across it (by Google etc). It will always be powered by Chrome. I have thought of... Checking User…
alex
  • 479,566
  • 201
  • 878
  • 984
0
votes
1 answer

Noninteractive Remote Commands with Powershell

I am developing a script which uses ssh to connect to a windows host, run a powershell command, and parse the output. While I can connect to the host and run the command, powershell will not exit and return control back to the local script until I…
mfabel
  • 178
  • 1
  • 12
0
votes
3 answers

Capture historical process history UNIX?

I'm wondering if there a way of capturing a list of the processes executed on a non-interactive shell? Basically I have a script which calls some variables from other sources and I want to see what the values of said variables are. However, the…
Huskie69
  • 795
  • 3
  • 11
  • 31
0
votes
1 answer

Running UI components in a service silently

I have a component, which silently retrieves some data from web using .NET WebBrowser component. It is written so that it will not show any dialog boxes, or any other interactive UI components, but since it is a form component, I need to create a…
galets
  • 17,802
  • 19
  • 72
  • 101
0
votes
1 answer

Pylab animation multiple figures

I want to update multiple figures using pylab animation. I initialize a new figure for each channel to display and I set interactive mode to off using: pyplot.ion() pyplot.show() In the class containing the figure there's a ring buffer and…
Fra
  • 4,918
  • 7
  • 33
  • 50
0
votes
2 answers

fetch nth line of a text file using non-interactive shell script

i need to fetch the nth line of a txt file using shell script. my text file is like abc xyz i need to fetch the 2nd line and store it in a variable i've tried all combinations using commands like : sed awk head tail cat ... etc problem is,…
Singh
  • 63
  • 1
  • 2
  • 10