question

hanksc avatar image
hanksc asked hanksc posted

Command Prompt on Linux

Our development environment is a mix of Windows and Linux.  Some of the Windows environment need to use the command prompt session profile type.  These session profiles show up as errors on the Linux side.  While I don't expect them to work, is there a way to ignore these errors so there an not a bunch of red circles with white 'x's in them in the explorer?
iTest
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
ramarb avatar image
ramarb answered ramarb posted

Coincidence! I did face the same issue recently.

I have just introduced an if-else to skip the command prompt part based on OS type!

2 comments
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

hanksc avatar image hanksc commented ·
I've done that so the code executes correctly.  I just don't like looking at all the icons marked as errors.
0 Likes 0 ·
VidyaH avatar image VidyaH hanksc commented ·
If you are fine to move all the CMD sessions into a separate project , then create a new iTest project and move all the command prompt session profiles into that project,right click on that and "close project". The icons marked as errors will not be shown in iTest Explorer and Problems view.
0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.