Free Downloads, Community Forum,
FAQs and Developer Resources


Make /Tools Your Home | Link to us

Today's posts | Posts since last visit | Most Active Topics

All Forums Register Login Search Subscriptions My Profile Inbox
Tool Warehouse FAQs Resources Help Member List Address Book Logout

run unix process from windows (same server)

 
Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [SFU / Interix / SUA Technology] >> SFU / Interix - Getting Started >> run unix process from windows (same server) Page: [1]
Login
Message << Older Topic   Newer Topic >>
run unix process from windows (same server) - Jul. 25, '06, 6:44:05 PM   
lforster

 

Posts: 11
Joined: Dec. 12, '05,
Status: offline
I have 4GL programs running on W2K server that need services only available in Unix (Interex). There is no RPC between these two environments (at least not from Interex). I can write a C-Hook to invoke a process (i.e. system() call). What are the rules for launching a UNIX (Interex) process on the same server? How do I set up the environment? Do I have to run a unix shell that in turn runs a unix process? Are there examples of how to
do this in the documentation. I can't find them.
Post #: 1
RE: run unix process from windows (same server) - Jul. 25, '06, 9:43:53 PM   
lforster

 

Posts: 11
Joined: Dec. 12, '05,
Status: offline
I figured it out. You run a .cmd (or .bat) file, set the UNIX environment variables and then run the UNIX command using the posix[.exe] windows command.
Sorry for not digging further before the post. Perhaps this will help another newcomer.

(in reply to lforster)
Post #: 2
RE: run unix process from windows (same server) - Jul. 25, '06, 11:21:32 PM   
Rodney

 

Posts: 3714
Joined: Jul. 9, '02,
From: /Tools lab
Status: online
Just a couple of points:

It's "Interix", not "Interex" (the latter makes pools).

You can do RPC's with Interix as you can with other Unix systems.

Some good samples of using POSIX.EXE are the menu entries done at installation.
Plus the man pages "posix" and "psxrun" are good references.

(in reply to lforster)
Post #: 3
Page:   [1]
All Forums >> [SFU / Interix / SUA Technology] >> SFU / Interix - Getting Started >> run unix process from windows (same server) Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Search All Forums -

Advanced search


SPONSORS



Forum Software © ASPPlayground.NET Advanced Edition 2.5 ANSI

0.047