15,885,141 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Iain Wiseman (Top 3 by date)
Iain Wiseman
4-Mar-11 15:08pm
View
I have a binary which works on windows and linux. In Linux I use upstart to run it. myBinary.exe > MyBinary.log. I do not want to write lots of code just to make it work in window using a service. It already works in a DOS prompt doing the same. All I want is to run it when the machine starts on a permanent basis. I thought that Services did this but it appears that they do so long as you do not use cout. If cout is a limitation of running a service can people tell me how to avoid it with the least code as this must run on linux
Iain Wiseman
4-Mar-11 1:48am
View
Perhaps a c# app which calls the .exe may work for me. Basically it reads an xml files and produces a result.
Iain Wiseman
4-Mar-11 1:47am
View
Many thanks for replying and the advice.
I am looking to process files which arrive in configurable directory. This process sits and waits for files. If not a service what would you use. The standard out is for debugging to a file.
Iain