shell


How to run a program with arguments with MONO?


I have a program that receives input arguments:
$ myProgram.exe -arg1 -arg2 -arg3
in Windows that works just fine. I want to run that through MONO in linux. How do I do that?
$ mono myProgram.exe
runs the program, but how do I pass the arg1, arg2 and arg3 to myProgram.exe using MONO?
Thanks in advance!
According to the mono wiki, the syntax for invoking mono is:
mono [options] file [arguments...]
I think that options are options to mono, while arguments are arguments to the program you want to run. So just do this:
mono myProgram.exe arg1 arg2 arg3
You might also be able to execute it without explicitly calling mono. This works on some platforms and not on others:
./myProgram.exe arg1 arg2 arg3

Related Links

Oozie shell action doesn't send mail notification
How to get the impala query output log into a variable using unix shell script?
teradata table error using multiload script
awk command to print multiple columns using for loop
Bash Script for loop?
why one bteq script works, but not the other
CoovaChilli redirect to a new page on successfull login, to display user account balance
First and last days of month given a specific day of that month - shell
wget downloads files from FTP site TWICE
Ignore input_userauth_banner when running ssh-copy-id
What does >& means in the following code snippet
shell script “syntax error: `done' unexpected.”
shell script compare numbers return illegal number
Read file, pick field values and make it tab delimited
Save multiple files from a awk command line
Hbase shell command to keep filter on multiple columns

Categories

HOME
facebook-oauth
object
solaris
vxml
tail
onclick
ado.net
azure-container-service
github-enterprise
qsqlquery
html5-appcache
jmp
dpdk
named-entity-recognition
r-mice
dataflow-diagram
bulletphysics
appirater
ms-access-web-app
fragment-backstack
entity-relationship-model
apktool
linked-data
firebase-analytics
mobx
xbox
jbutton
rselenium
installshield-le
getpixel
reactjs.net
batching
imx6
openalpr
diacritics
apache-stanbol
tasm
magento-1.9.3
visa
odoo-website
parser-generator
builder
chai-as-promised
yii2-api
rserve
manova
arq
compiler-design
py2neo
juice-ui
mapxtreme
iotivity
dimension
android-dateutils
jtwig
assertion
dynatree
.bash-profile
zscript
jsvc
kubuntu
infosphere-spl
delayed-execution
jbake
spy++
formview
create.js
parallel-testing
renderer
visual-studio-express
isqlquery
android-icons
pagedown
traceability
virtual-pc
alice
booksleeve
onmousemove
mkv
boost-msm
web-farm
objectquery
virtualpathprovider
exponentiation
jqote
massive
event-receiver
http-daemon
globals
jqueryform
int64
unmanagedresources

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App