Jump to content




[SOLVED] How to use command in program?


4 replies to this topic

#1 Cute Froggy :)

  • Members
  • 15 posts

Posted 12 February 2017 - 04:55 AM

How do I use a command for a program? I want a program which does "rm *" Don't ask why just answer :P But how do I make it enter that command as if a human typed it into the command line? Thanks!
EDIT 1: Also I do know I can't "disguise" stuff that deletes as programs. So I can confirm it's not to post that stuff on the program share thing :) Just if you thought I had ill-intentions
EDIT 2: Solved.

Edited by Cute Froggy :), 13 February 2017 - 01:24 AM.


#2 Bomb Bloke

    Hobbyist Coder

  • Moderators
  • 7,099 posts
  • LocationTasmania (AU)

Posted 12 February 2017 - 05:33 AM

What was wrong with the answers you got last time you asked this? :/

#3 Cute Froggy :)

  • Members
  • 15 posts

Posted 12 February 2017 - 05:39 AM

Oh, wow. I didn't even know that I've posted it! Sorry, you can go ahead and lock this post if you want (or delete it)

But it would be useful to know how to use any command line commands in a program

#4 Cute Froggy :)

  • Members
  • 15 posts

Posted 12 February 2017 - 05:51 AM

Wait, does shell.run run command line commands?

Edited by Cute Froggy :), 12 February 2017 - 05:55 AM.


#5 Bomb Bloke

    Hobbyist Coder

  • Moderators
  • 7,099 posts
  • LocationTasmania (AU)

Posted 12 February 2017 - 12:12 PM

Yes.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users