Welcome to Telelogic Product Support
  Home Downloads Knowledgebase Case Tracking Licensing Help Telelogic Passport
Telelogic DOORS (steve huntington)
Decrease font size
Increase font size
Topic Title: win32SystemWait_ for fc.exe
Topic Summary:
Created On: 19-Oct-2007 21:12
Status: Post and Reply
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
Quick Reply Quick Reply
Subscribe to this topic Subscribe to this topic
E-mail this topic to someone. E-mail this topic
Bookmark this topic Bookmark this topic
View similar topics View similar topics
View topic in raw text format. Print this topic.
 19-Oct-2007 21:12
User is offline View Users Profile Print this message


Louie Landale

Posts: 2070
Joined: 12-Sep-2002

Anybody have any luck making the "win32SystemWait_" command work for "fc.exe" <DOS file compare>?

I can make it work by putting the fc.exe command in a batch file, then sending the batch to the system via the 'system' command. Unfortunately, it comes back before the command is finished, so I follow it with a "wait for black DOS windows to close before continuing", then I send the result file to notepad.exe (also via system).

I haven't had any luck with win32SystemWait_ with fc.exe: [1] run straight [2] run inside a batch file [] preceeded with cmd.exe [4] preceeded with command.com.

I wonder what the other 'system' calls do [1] void system(string command, void(int), void()) [2] system(string command, void(int)). Also the void run(string command).

- Louie
Report this to a Moderator Report this to a Moderator
 22-Oct-2007 14:52
User is offline View Users Profile Print this message


Tony Goodman

Posts: 1098
Joined: 12-Sep-2002

Works for me.
I am using DOORS 8.2 patch 02.

-------------------------
Tony Goodman
http://www.smartdxl.com
Report this to a Moderator Report this to a Moderator
 22-Oct-2007 17:30
User is offline View Users Profile Print this message


Louie Landale

Posts: 2070
Joined: 12-Sep-2002

Does that work for you? Doesn't work for me, running DOORS v8.1 patch 6. Added print statements, getting a return of zero but the result file isn't getting created. Check for the existence of the input files and yes they exist.

- Louie
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic DOORS forum.
There are currently 2 users logged in.
The most users ever online was 15 on 15-Jan-2009 at 16:36.
There are currently 0 guests browsing this forum, which makes a total of 2 users using this forum.
You have posted 0 messages to this forum. 0 overall.

FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.