Jump to content
Sign in to follow this  
Bariqah

Run File; Strange Question!

Recommended Posts

Bariqah
Posted (edited)

Hi,

The executed file (e.g. notepad in image below) appears below AutoIt in ProcessExplorer !

image.png.fee7891df29c247050fd26b780094eba.png

Any way to avoid that ?!!!

Edited by Bariqah

Share this post


Link to post
Share on other sites
Earthshine
Posted (edited)

change your view in process explorer. why is this a problem? did you read the help file on all the different way you can call the process and try those?

Edited by Earthshine

My resources are limited. You must ask the right questions

 

Share this post


Link to post
Share on other sites
Bariqah
2 minutes ago, Earthshine said:

change your view in process explorer. why is this a problem? did you read the help file on all the different way you can call the process and try those?

Not a problem. Tried Run and ShellExecute; both the same.. Any third option?

Share this post


Link to post
Share on other sites
Earthshine
Posted (edited)

again, why is this a problem? the view you have chosen shows processes and their child processes. what is so bad about that?

Edited by Earthshine

My resources are limited. You must ask the right questions

 

Share this post


Link to post
Share on other sites
Bariqah
1 minute ago, Earthshine said:

you could have a batch that launches it, then your script

How?

I made .bat file by autoit then run it?

Share this post


Link to post
Share on other sites
Earthshine
Posted (edited)

not until I know what this is for and why it matters. i'm not responding until a moderator says its ok first.

Edited by Earthshine

My resources are limited. You must ask the right questions

 

Share this post


Link to post
Share on other sites
Bariqah
2 minutes ago, Earthshine said:

not until I know what this is for and why it matters. i'm not responding until a moderator says its ok first.

It's OK.  Just for knowledge & curiosity!!

If my question violate the rules I have no problem of deleting it!!

Share this post


Link to post
Share on other sites
BrewManNH

Notepad is a child process of AutoIt, it's going to appear under it if you run it from AutoIt.


If I posted any code, assume that code was written using the latest release version unless stated otherwise. Also, if it doesn't work on XP I can't help with that because I don't have access to XP, and I'm not going to.
Give a programmer the correct code and he can do his work for a day. Teach a programmer to debug and he can do his work for a lifetime - by Chirag Gude
How to ask questions the smart way!

I hereby grant any person the right to use any code I post, that I am the original author of, on the autoitscript.com forums, unless I've specifically stated otherwise in the code or the thread post. If you do use my code all I ask, as a courtesy, is to make note of where you got it from.

Back up and restore Windows user files _Array.au3 - Modified array functions that include support for 2D arrays.  -  ColorChooser - An add-on for SciTE that pops up a color dialog so you can select and paste a color code into a script.  -  Customizable Splashscreen GUI w/Progress Bar - Create a custom "splash screen" GUI with a progress bar and custom label.  -  _FileGetProperty - Retrieve the properties of a file  -  SciTE Toolbar - A toolbar demo for use with the SciTE editor  -  GUIRegisterMsg demo - Demo script to show how to use the Windows messages to interact with controls and your GUI.  -   Latin Square password generator

Share this post


Link to post
Share on other sites
JLogan3o13

Not sure why this thread was reported, but as BrewManNH pointed out, that is expected behavior for a child process.


√-1 2^3 ∑ π, and it was delicious!

How to get your question answered on this forum!

Share this post


Link to post
Share on other sites
Bariqah
1 minute ago, JLogan3o13 said:

Not sure why this thread was reported, but as BrewManNH pointed out, that is expected behavior for a child process.

I know. My question is it possible to run a file so that ProcessExplorer does not 'know' it was run by AutoIt ?!!!

 

Share this post


Link to post
Share on other sites
JLogan3o13
Posted (edited)

And why would you possibly want to do that? And before you answer, the "Just want to know, just curious" BS answer doesn't fly

Edited by JLogan3o13

√-1 2^3 ∑ π, and it was delicious!

How to get your question answered on this forum!

Share this post


Link to post
Share on other sites
Bariqah
3 minutes ago, JLogan3o13 said:

And why would you possibly want to do that? And before you answer, the "Just want to know, just curious" BS answer doesn't fly

If a user were to select "kill process tree" in the taskmanager, my entire application would not die

Share this post


Link to post
Share on other sites
JLogan3o13

And again, what legitimate reason would you have to not let a user kill the process? There are legitimate reasons to do this, but not hearing from you what that may be. Is this in a corporate environment? Are the users local administrators? What is the application doing that you want to prevent them from stopping it? Help us help you by giving some actual information about what you're trying to accomplish rather than the vague "just curious" comments.


√-1 2^3 ∑ π, and it was delicious!

How to get your question answered on this forum!

Share this post


Link to post
Share on other sites
Bariqah
3 minutes ago, JLogan3o13 said:

And again, what legitimate reason would you have to not let a user kill the process? There are legitimate reasons to do this, but not hearing from you what that may be. Is this in a corporate environment? Are the users local administrators? What is the application doing that you want to prevent them from stopping it? Help us help you by giving some actual information about what you're trying to accomplish rather than the vague "just curious" comments.

It is an application that will be placed on a number of computers in GameStore. Its function to calculate the time spent on the game. The fees will apply accordingly. It will be very easy for customers to disable the application. I will make 2 applications to run simultaneously and each one check that the other one runs if not it run it.

I hope this clarify it

Share this post


Link to post
Share on other sites
JLogan3o13

It does, it also clarifies that you have not bothered to read through our forum rules, especially this part:

Quote
  • Launching, automation or script interaction with games or game servers, regardless of the game

Please familiarize yourself with the forum rules before posting again.


√-1 2^3 ∑ π, and it was delicious!

How to get your question answered on this forum!

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  

×