Questions tagged [cmdline-args]

38 questions
0
votes
1 answer

How to Specify ^ " white-space At the Same Time in Windows Command Prompt

I have difficulties understanding how to specify special characters ^ and " as parameters in windows command prompt. I am using gnuwin32's diff in Win 7 . It has a -I option that accepts a regular expression from the command line. I want to invoke…
JavaMan
  • 4,954
  • 4
  • 41
  • 69
0
votes
0 answers

ps and /proc/$$/cmdline don't show script arguments without shebang

I've come across a behavior I can't explain. When I run a bash script without a shebang, the ps command will not show the script and its arguments as arguments passed to bash, neither will /proc/$$/cmdline, whereas If I run the script with a…
boogie
  • 349
  • 1
  • 3
  • 11
0
votes
2 answers

IBM MobileFirst Test Workbench - Running a test from the command line

I am trying to run a test from the command line using the cmdline.bat file, as suggested in https://www-01.ibm.com/support/knowledgecenter/SS2HS7_8.6.0/com.ibm.rational.test.lt.common.doc/topics/truncmdln.html It is not like I am not getting some…
bassco_dp
  • 27
  • 6
-1
votes
1 answer

How to put filename with spaces as parameter?

When I run my AutoIt script for a filename without spaces ("filename.txt") it gets executed successfully. But when filename contains spaces ("File Name.txt") I get error "File not found". Parameterized.au3…
Sam
  • 62
  • 8
-1
votes
1 answer

jar file execution works with -Dhttps.proxyHost option but does not work when I set the same proxy via export and then if I run java -jar sample.jar

I have a executable jar file which fetches gcp regions. This jar works when I issue it as below: java -Dhttps.proxyHost=web-proxy.in.softgrp.net -Dhttps.proxyPort=8080 -jar sample.jar This command works. where web-proxy.in.softgrp.net is the proxy…
-1
votes
2 answers

GO flag pkg reading option string containing escaped runes like "\u00FC" won't read

The test program below works as desired using the DEFAULT string having code points like \u00FC, as well as if that type of code point is coded as a sting within the prog. Passing the same string from cmd line like: prog.exe -input="ABC\u00FC" does…
-1
votes
1 answer

Could not run python script using PHP

I could obtain the output (in text file) of a python file by executing it on the command line, but was not able to obtain the output (in text file) by executing it using php exec(). What did i do wrongly? this is my python file…
stephanie
  • 1
  • 1
-4
votes
1 answer

pulling data from txt file getting java.lang.Arrayindexoutofboundsexception errors

can someone please help me figure out what the indexes should be to get this to run fully I've tried all kinds of fixes and nothing is working properly. I have a feeling that the issue is in the first declaration of data String[][] data = new…
1 2
3