LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-08-2016, 06:03 AM   #1
ashokbugude
LQ Newbie
 
Registered: May 2016
Posts: 6

Rep: Reputation: Disabled
C# : Start a process in Linux - Issues


0
down vote
favorite


I am trying to start a process in Linux using below c# code in mono developer for Unity in start function.

Process.start(filepath);

Results as checked in task manager of linux
1. Process starts but ends in 3 secs with Memory shown as 'N/A' in task manager during the 3 secs and Status as 'Zombie'

Note : The process works fine when executed from terminal or when double clicked

Last edited by ashokbugude; 08-08-2016 at 06:37 AM.
 
Old 08-08-2016, 10:54 AM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,149

Rep: Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264
Is filepath a relative path or absolute? Is the process running as the same user, with the same permissions, in the same environment as the terminal? Is the parent process detached from a console?
 
  


Reply

Tags
memory, monodevelop, process



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: how to determine the runtime and start time of a Linux process LXer Syndicated Linux News 0 04-01-2012 08:50 AM
I want to know a little detail about linux start process. liyuefu Linux - General 4 08-15-2005 10:00 AM
start date and start time of a process - jiffies Yoko Programming 0 12-04-2004 08:12 AM
Start up process on linux mandrake 2.1 antken Linux - General 0 03-13-2001 11:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:42 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration